DndnCore API

AIWeatherAnalysis

analyze

기상 분석 실행

지정한 날짜 기준으로 AI 기상 분석을 수행합니다. 날짜를 생략하면 내부 기준일을 사용합니다.


/ai/weather/analyze

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/ai/weather/analyze?date="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AIWeatherAnalysisApi;

import java.io.File;
import java.util.*;

public class AIWeatherAnalysisApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        AIWeatherAnalysisApi apiInstance = new AIWeatherAnalysisApi();
         date = ; //  | 분석 날짜(YYYY-MM-DD)
        try {
            AnalysisResult result = apiInstance.analyze(date);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AIWeatherAnalysisApi#analyze");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AIWeatherAnalysisApi;

public class AIWeatherAnalysisApiExample {

    public static void main(String[] args) {
        AIWeatherAnalysisApi apiInstance = new AIWeatherAnalysisApi();
         date = ; //  | 분석 날짜(YYYY-MM-DD)
        try {
            AnalysisResult result = apiInstance.analyze(date);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AIWeatherAnalysisApi#analyze");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *date = ; // 분석 날짜(YYYY-MM-DD) (optional)

AIWeatherAnalysisApi *apiInstance = [[AIWeatherAnalysisApi alloc] init];

// 기상 분석 실행
[apiInstance analyzeWith:date
              completionHandler: ^(AnalysisResult output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.AIWeatherAnalysisApi()
var opts = { 
  'date':  // {{}} 분석 날짜(YYYY-MM-DD)
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.analyze(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class analyzeExample
    {
        public void main()
        {


            var apiInstance = new AIWeatherAnalysisApi();
            var date = new (); //  | 분석 날짜(YYYY-MM-DD) (optional) 

            try
            {
                // 기상 분석 실행
                AnalysisResult result = apiInstance.analyze(date);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AIWeatherAnalysisApi.analyze: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiAIWeatherAnalysisApi();
$date = ; //  | 분석 날짜(YYYY-MM-DD)

try {
    $result = $api_instance->analyze($date);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AIWeatherAnalysisApi->analyze: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AIWeatherAnalysisApi;


my $api_instance = WWW::SwaggerClient::AIWeatherAnalysisApi->new();
my $date = ; #  | 분석 날짜(YYYY-MM-DD)

eval { 
    my $result = $api_instance->analyze(date => $date);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AIWeatherAnalysisApi->analyze: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.AIWeatherAnalysisApi()
date =  #  | 분석 날짜(YYYY-MM-DD) (optional)

try: 
    # 기상 분석 실행
    api_response = api_instance.analyze(date=date)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AIWeatherAnalysisApi->analyze: %s\n" % e)

Parameters

Query parameters
Name Description
date
(date)
분석 날짜(YYYY-MM-DD)

Responses

Status: 200 - 분석 성공

Status: 500 - 분석 실패


AI_

complete

AI 스케줄 추천 완료 처리

AI 스케줄 추천 분석을 완료 상태로 처리합니다.


/ai/schedule-recommendations/{id}/complete

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"http://192.100.200.111:8080/ai/schedule-recommendations/{id}/complete"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AI_Api;

import java.io.File;
import java.util.*;

public class AI_ApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        AI_Api apiInstance = new AI_Api();
        CompleteReq body = ; // CompleteReq | 완료 처리 요청 데이터
         id = ; //  | AI 스케줄 추천 ID
        try {
            Res result = apiInstance.complete(body, id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AI_Api#complete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AI_Api;

public class AI_ApiExample {

    public static void main(String[] args) {
        AI_Api apiInstance = new AI_Api();
        CompleteReq body = ; // CompleteReq | 완료 처리 요청 데이터
         id = ; //  | AI 스케줄 추천 ID
        try {
            Res result = apiInstance.complete(body, id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AI_Api#complete");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
CompleteReq *body = ; // 완료 처리 요청 데이터
 *id = ; // AI 스케줄 추천 ID

AI_Api *apiInstance = [[AI_Api alloc] init];

// AI 스케줄 추천 완료 처리
[apiInstance completeWith:body
    id:id
              completionHandler: ^(Res output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.AI_Api()
var body = ; // {{CompleteReq}} 완료 처리 요청 데이터
var id = ; // {{}} AI 스케줄 추천 ID

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.complete(bodyid, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class completeExample
    {
        public void main()
        {


            var apiInstance = new AI_Api();
            var body = new CompleteReq(); // CompleteReq | 완료 처리 요청 데이터
            var id = new (); //  | AI 스케줄 추천 ID

            try
            {
                // AI 스케줄 추천 완료 처리
                Res result = apiInstance.complete(body, id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AI_Api.complete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiAI_Api();
$body = ; // CompleteReq | 완료 처리 요청 데이터
$id = ; //  | AI 스케줄 추천 ID

try {
    $result = $api_instance->complete($body, $id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AI_Api->complete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AI_Api;


my $api_instance = WWW::SwaggerClient::AI_Api->new();
my $body = WWW::SwaggerClient::Object::CompleteReq->new(); # CompleteReq | 완료 처리 요청 데이터
my $id = ; #  | AI 스케줄 추천 ID

eval { 
    my $result = $api_instance->complete(body => $body, id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AI_Api->complete: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.AI_Api()
body =  # CompleteReq | 완료 처리 요청 데이터
id =  #  | AI 스케줄 추천 ID

try: 
    # AI 스케줄 추천 완료 처리
    api_response = api_instance.complete(body, id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AI_Api->complete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
(int64)
AI 스케줄 추천 ID
Required
Body parameters
Name Description
body *

Responses

Status: 200 - 처리 성공

Status: 500 - 서버 오류


create6

AI 스케줄 추천 생성

새로운 AI 스케줄 추천을 요청합니다.


/ai/schedule-recommendations

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"http://192.100.200.111:8080/ai/schedule-recommendations"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AI_Api;

import java.io.File;
import java.util.*;

public class AI_ApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        AI_Api apiInstance = new AI_Api();
        CreateReq body = ; // CreateReq | AI 스케줄 추천 생성 요청 데이터
        try {
            Res result = apiInstance.create6(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AI_Api#create6");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AI_Api;

public class AI_ApiExample {

    public static void main(String[] args) {
        AI_Api apiInstance = new AI_Api();
        CreateReq body = ; // CreateReq | AI 스케줄 추천 생성 요청 데이터
        try {
            Res result = apiInstance.create6(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AI_Api#create6");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
CreateReq *body = ; // AI 스케줄 추천 생성 요청 데이터

AI_Api *apiInstance = [[AI_Api alloc] init];

// AI 스케줄 추천 생성
[apiInstance create6With:body
              completionHandler: ^(Res output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.AI_Api()
var body = ; // {{CreateReq}} AI 스케줄 추천 생성 요청 데이터

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.create6(body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class create6Example
    {
        public void main()
        {


            var apiInstance = new AI_Api();
            var body = new CreateReq(); // CreateReq | AI 스케줄 추천 생성 요청 데이터

            try
            {
                // AI 스케줄 추천 생성
                Res result = apiInstance.create6(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AI_Api.create6: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiAI_Api();
$body = ; // CreateReq | AI 스케줄 추천 생성 요청 데이터

try {
    $result = $api_instance->create6($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AI_Api->create6: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AI_Api;


my $api_instance = WWW::SwaggerClient::AI_Api->new();
my $body = WWW::SwaggerClient::Object::CreateReq->new(); # CreateReq | AI 스케줄 추천 생성 요청 데이터

eval { 
    my $result = $api_instance->create6(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AI_Api->create6: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.AI_Api()
body =  # CreateReq | AI 스케줄 추천 생성 요청 데이터

try: 
    # AI 스케줄 추천 생성
    api_response = api_instance.create6(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AI_Api->create6: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - 생성 성공

Status: 500 - 서버 오류


fail

AI 스케줄 추천 실패 처리

AI 스케줄 추천 분석을 실패 상태로 처리합니다.


/ai/schedule-recommendations/{id}/fail

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"http://192.100.200.111:8080/ai/schedule-recommendations/{id}/fail"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AI_Api;

import java.io.File;
import java.util.*;

public class AI_ApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        AI_Api apiInstance = new AI_Api();
        FailReq body = ; // FailReq | 실패 처리 요청 데이터
         id = ; //  | AI 스케줄 추천 ID
        try {
            Res result = apiInstance.fail(body, id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AI_Api#fail");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AI_Api;

public class AI_ApiExample {

    public static void main(String[] args) {
        AI_Api apiInstance = new AI_Api();
        FailReq body = ; // FailReq | 실패 처리 요청 데이터
         id = ; //  | AI 스케줄 추천 ID
        try {
            Res result = apiInstance.fail(body, id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AI_Api#fail");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
FailReq *body = ; // 실패 처리 요청 데이터
 *id = ; // AI 스케줄 추천 ID

AI_Api *apiInstance = [[AI_Api alloc] init];

// AI 스케줄 추천 실패 처리
[apiInstance failWith:body
    id:id
              completionHandler: ^(Res output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.AI_Api()
var body = ; // {{FailReq}} 실패 처리 요청 데이터
var id = ; // {{}} AI 스케줄 추천 ID

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.fail(bodyid, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class failExample
    {
        public void main()
        {


            var apiInstance = new AI_Api();
            var body = new FailReq(); // FailReq | 실패 처리 요청 데이터
            var id = new (); //  | AI 스케줄 추천 ID

            try
            {
                // AI 스케줄 추천 실패 처리
                Res result = apiInstance.fail(body, id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AI_Api.fail: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiAI_Api();
$body = ; // FailReq | 실패 처리 요청 데이터
$id = ; //  | AI 스케줄 추천 ID

try {
    $result = $api_instance->fail($body, $id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AI_Api->fail: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AI_Api;


my $api_instance = WWW::SwaggerClient::AI_Api->new();
my $body = WWW::SwaggerClient::Object::FailReq->new(); # FailReq | 실패 처리 요청 데이터
my $id = ; #  | AI 스케줄 추천 ID

eval { 
    my $result = $api_instance->fail(body => $body, id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AI_Api->fail: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.AI_Api()
body =  # FailReq | 실패 처리 요청 데이터
id =  #  | AI 스케줄 추천 ID

try: 
    # AI 스케줄 추천 실패 처리
    api_response = api_instance.fail(body, id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AI_Api->fail: %s\n" % e)

Parameters

Path parameters
Name Description
id*
(int64)
AI 스케줄 추천 ID
Required
Body parameters
Name Description
body *

Responses

Status: 200 - 처리 성공

Status: 500 - 서버 오류


get

AI 스케줄 추천 상세 조회

특정 AI 스케줄 추천의 상세 결과를 조회합니다.


/ai/schedule-recommendations/{id}

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/ai/schedule-recommendations/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AI_Api;

import java.io.File;
import java.util.*;

public class AI_ApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        AI_Api apiInstance = new AI_Api();
         id = ; //  | AI 스케줄 추천 ID
        try {
            Res result = apiInstance.get(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AI_Api#get");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AI_Api;

public class AI_ApiExample {

    public static void main(String[] args) {
        AI_Api apiInstance = new AI_Api();
         id = ; //  | AI 스케줄 추천 ID
        try {
            Res result = apiInstance.get(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AI_Api#get");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *id = ; // AI 스케줄 추천 ID

AI_Api *apiInstance = [[AI_Api alloc] init];

// AI 스케줄 추천 상세 조회
[apiInstance getWith:id
              completionHandler: ^(Res output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.AI_Api()
var id = ; // {{}} AI 스케줄 추천 ID

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.get(id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getExample
    {
        public void main()
        {


            var apiInstance = new AI_Api();
            var id = new (); //  | AI 스케줄 추천 ID

            try
            {
                // AI 스케줄 추천 상세 조회
                Res result = apiInstance.get(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AI_Api.get: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiAI_Api();
$id = ; //  | AI 스케줄 추천 ID

try {
    $result = $api_instance->get($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AI_Api->get: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AI_Api;


my $api_instance = WWW::SwaggerClient::AI_Api->new();
my $id = ; #  | AI 스케줄 추천 ID

eval { 
    my $result = $api_instance->get(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AI_Api->get: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.AI_Api()
id =  #  | AI 스케줄 추천 ID

try: 
    # AI 스케줄 추천 상세 조회
    api_response = api_instance.get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AI_Api->get: %s\n" % e)

Parameters

Path parameters
Name Description
id*
(int64)
AI 스케줄 추천 ID
Required

Responses

Status: 200 - 조회 성공

Status: 500 - 서버 오류


list6

AI 스케줄 추천 목록 조회

특정 프로젝트의 AI 스케줄 추천 내역을 조회합니다.


/ai/schedule-recommendations

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/ai/schedule-recommendations?projectId="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AI_Api;

import java.io.File;
import java.util.*;

public class AI_ApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        AI_Api apiInstance = new AI_Api();
         projectId = ; //  | 프로젝트 ID
        try {
            apiInstance.list6(projectId);
        } catch (ApiException e) {
            System.err.println("Exception when calling AI_Api#list6");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AI_Api;

public class AI_ApiExample {

    public static void main(String[] args) {
        AI_Api apiInstance = new AI_Api();
         projectId = ; //  | 프로젝트 ID
        try {
            apiInstance.list6(projectId);
        } catch (ApiException e) {
            System.err.println("Exception when calling AI_Api#list6");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *projectId = ; // 프로젝트 ID

AI_Api *apiInstance = [[AI_Api alloc] init];

// AI 스케줄 추천 목록 조회
[apiInstance list6With:projectId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.AI_Api()
var projectId = ; // {{}} 프로젝트 ID

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.list6(projectId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class list6Example
    {
        public void main()
        {


            var apiInstance = new AI_Api();
            var projectId = new (); //  | 프로젝트 ID

            try
            {
                // AI 스케줄 추천 목록 조회
                apiInstance.list6(projectId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AI_Api.list6: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiAI_Api();
$projectId = ; //  | 프로젝트 ID

try {
    $api_instance->list6($projectId);
} catch (Exception $e) {
    echo 'Exception when calling AI_Api->list6: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AI_Api;


my $api_instance = WWW::SwaggerClient::AI_Api->new();
my $projectId = ; #  | 프로젝트 ID

eval { 
    $api_instance->list6(projectId => $projectId);
};
if ($@) {
    warn "Exception when calling AI_Api->list6: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.AI_Api()
projectId =  #  | 프로젝트 ID

try: 
    # AI 스케줄 추천 목록 조회
    api_instance.list6(projectId)
except ApiException as e:
    print("Exception when calling AI_Api->list6: %s\n" % e)

Parameters

Query parameters
Name Description
projectId*
(int64)
프로젝트 ID
Required

Responses

Status: 200 - 조회 성공

Status: 500 - 서버 오류


Account

checkEmail

이메일 중복 확인

입력한 이메일의 사용 가능 여부를 확인합니다.


/admin/accounts/check-email

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/admin/accounts/check-email?email="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountApi;

import java.io.File;
import java.util.*;

public class AccountApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        AccountApi apiInstance = new AccountApi();
         email = ; //  | 
        try {
            apiInstance.checkEmail(email);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountApi#checkEmail");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountApi;

public class AccountApiExample {

    public static void main(String[] args) {
        AccountApi apiInstance = new AccountApi();
         email = ; //  | 
        try {
            apiInstance.checkEmail(email);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountApi#checkEmail");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *email = ; // 

AccountApi *apiInstance = [[AccountApi alloc] init];

// 이메일 중복 확인
[apiInstance checkEmailWith:email
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.AccountApi()
var email = ; // {{}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.checkEmail(email, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class checkEmailExample
    {
        public void main()
        {


            var apiInstance = new AccountApi();
            var email = new (); //  | 

            try
            {
                // 이메일 중복 확인
                apiInstance.checkEmail(email);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountApi.checkEmail: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiAccountApi();
$email = ; //  | 

try {
    $api_instance->checkEmail($email);
} catch (Exception $e) {
    echo 'Exception when calling AccountApi->checkEmail: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AccountApi;


my $api_instance = WWW::SwaggerClient::AccountApi->new();
my $email = ; #  | 

eval { 
    $api_instance->checkEmail(email => $email);
};
if ($@) {
    warn "Exception when calling AccountApi->checkEmail: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.AccountApi()
email =  #  | 

try: 
    # 이메일 중복 확인
    api_instance.check_email(email)
except ApiException as e:
    print("Exception when calling AccountApi->checkEmail: %s\n" % e)

Parameters

Query parameters
Name Description
email*
Required

Responses

Status: 200 - 확인 성공

Status: 500 - 서버 오류


create7

계정 생성

관리자용 계정을 생성합니다.


/admin/accounts

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"http://192.100.200.111:8080/admin/accounts"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountApi;

import java.io.File;
import java.util.*;

public class AccountApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        AccountApi apiInstance = new AccountApi();
        CreateReq body = ; // CreateReq | 
        try {
            Res result = apiInstance.create7(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountApi#create7");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountApi;

public class AccountApiExample {

    public static void main(String[] args) {
        AccountApi apiInstance = new AccountApi();
        CreateReq body = ; // CreateReq | 
        try {
            Res result = apiInstance.create7(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountApi#create7");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
CreateReq *body = ; // 

AccountApi *apiInstance = [[AccountApi alloc] init];

// 계정 생성
[apiInstance create7With:body
              completionHandler: ^(Res output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.AccountApi()
var body = ; // {{CreateReq}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.create7(body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class create7Example
    {
        public void main()
        {


            var apiInstance = new AccountApi();
            var body = new CreateReq(); // CreateReq | 

            try
            {
                // 계정 생성
                Res result = apiInstance.create7(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountApi.create7: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiAccountApi();
$body = ; // CreateReq | 

try {
    $result = $api_instance->create7($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AccountApi->create7: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AccountApi;


my $api_instance = WWW::SwaggerClient::AccountApi->new();
my $body = WWW::SwaggerClient::Object::CreateReq->new(); # CreateReq | 

eval { 
    my $result = $api_instance->create7(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AccountApi->create7: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.AccountApi()
body =  # CreateReq | 

try: 
    # 계정 생성
    api_response = api_instance.create7(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountApi->create7: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - 생성 성공

Status: 400 - 잘못된 요청

Status: 500 - 서버 오류


delete4

계정 삭제

관리자용 계정을 비활성화합니다.


/admin/accounts/{idx}

Usage and SDK Samples

curl -X DELETE\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/admin/accounts/{idx}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountApi;

import java.io.File;
import java.util.*;

public class AccountApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        AccountApi apiInstance = new AccountApi();
         idx = ; //  | 
        try {
            BaseResponseVoid result = apiInstance.delete4(idx);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountApi#delete4");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountApi;

public class AccountApiExample {

    public static void main(String[] args) {
        AccountApi apiInstance = new AccountApi();
         idx = ; //  | 
        try {
            BaseResponseVoid result = apiInstance.delete4(idx);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountApi#delete4");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *idx = ; // 

AccountApi *apiInstance = [[AccountApi alloc] init];

// 계정 삭제
[apiInstance delete4With:idx
              completionHandler: ^(BaseResponseVoid output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.AccountApi()
var idx = ; // {{}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.delete4(idx, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class delete4Example
    {
        public void main()
        {


            var apiInstance = new AccountApi();
            var idx = new (); //  | 

            try
            {
                // 계정 삭제
                BaseResponseVoid result = apiInstance.delete4(idx);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountApi.delete4: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiAccountApi();
$idx = ; //  | 

try {
    $result = $api_instance->delete4($idx);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AccountApi->delete4: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AccountApi;


my $api_instance = WWW::SwaggerClient::AccountApi->new();
my $idx = ; #  | 

eval { 
    my $result = $api_instance->delete4(idx => $idx);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AccountApi->delete4: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.AccountApi()
idx =  #  | 

try: 
    # 계정 삭제
    api_response = api_instance.delete4(idx)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountApi->delete4: %s\n" % e)

Parameters

Path parameters
Name Description
idx*
(int64)
Required

Responses

Status: 200 - 삭제 성공

Status: 404 - 대상을 찾을 수 없음

Status: 500 - 서버 오류


getAll

전체 계정 목록 조회

관리자용 전체 계정 목록을 조회합니다.


/admin/accounts

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/admin/accounts"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountApi;

import java.io.File;
import java.util.*;

public class AccountApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        AccountApi apiInstance = new AccountApi();
        try {
            apiInstance.getAll();
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountApi#getAll");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountApi;

public class AccountApiExample {

    public static void main(String[] args) {
        AccountApi apiInstance = new AccountApi();
        try {
            apiInstance.getAll();
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountApi#getAll");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

AccountApi *apiInstance = [[AccountApi alloc] init];

// 전체 계정 목록 조회
[apiInstance getAllWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.AccountApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.getAll(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getAllExample
    {
        public void main()
        {


            var apiInstance = new AccountApi();

            try
            {
                // 전체 계정 목록 조회
                apiInstance.getAll();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountApi.getAll: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiAccountApi();

try {
    $api_instance->getAll();
} catch (Exception $e) {
    echo 'Exception when calling AccountApi->getAll: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AccountApi;


my $api_instance = WWW::SwaggerClient::AccountApi->new();

eval { 
    $api_instance->getAll();
};
if ($@) {
    warn "Exception when calling AccountApi->getAll: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.AccountApi()

try: 
    # 전체 계정 목록 조회
    api_instance.get_all()
except ApiException as e:
    print("Exception when calling AccountApi->getAll: %s\n" % e)

Parameters

Responses

Status: 200 - 조회 성공

Status: 500 - 서버 오류


getOne

계정 단건 조회

관리자용 계정 단건 정보를 조회합니다.


/admin/accounts/{idx}

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/admin/accounts/{idx}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountApi;

import java.io.File;
import java.util.*;

public class AccountApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        AccountApi apiInstance = new AccountApi();
         idx = ; //  | 
        try {
            Res result = apiInstance.getOne(idx);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountApi#getOne");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountApi;

public class AccountApiExample {

    public static void main(String[] args) {
        AccountApi apiInstance = new AccountApi();
         idx = ; //  | 
        try {
            Res result = apiInstance.getOne(idx);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountApi#getOne");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *idx = ; // 

AccountApi *apiInstance = [[AccountApi alloc] init];

// 계정 단건 조회
[apiInstance getOneWith:idx
              completionHandler: ^(Res output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.AccountApi()
var idx = ; // {{}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getOne(idx, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getOneExample
    {
        public void main()
        {


            var apiInstance = new AccountApi();
            var idx = new (); //  | 

            try
            {
                // 계정 단건 조회
                Res result = apiInstance.getOne(idx);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountApi.getOne: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiAccountApi();
$idx = ; //  | 

try {
    $result = $api_instance->getOne($idx);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AccountApi->getOne: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AccountApi;


my $api_instance = WWW::SwaggerClient::AccountApi->new();
my $idx = ; #  | 

eval { 
    my $result = $api_instance->getOne(idx => $idx);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AccountApi->getOne: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.AccountApi()
idx =  #  | 

try: 
    # 계정 단건 조회
    api_response = api_instance.get_one(idx)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountApi->getOne: %s\n" % e)

Parameters

Path parameters
Name Description
idx*
(int64)
Required

Responses

Status: 200 - 조회 성공

Status: 404 - 대상을 찾을 수 없음

Status: 500 - 서버 오류


update4

계정 수정

관리자용 계정 정보를 수정합니다.


/admin/accounts/{idx}

Usage and SDK Samples

curl -X PUT\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"http://192.100.200.111:8080/admin/accounts/{idx}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountApi;

import java.io.File;
import java.util.*;

public class AccountApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        AccountApi apiInstance = new AccountApi();
        UpdateReq body = ; // UpdateReq | 
         idx = ; //  | 계정 ID
        try {
            Res result = apiInstance.update4(body, idx);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountApi#update4");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountApi;

public class AccountApiExample {

    public static void main(String[] args) {
        AccountApi apiInstance = new AccountApi();
        UpdateReq body = ; // UpdateReq | 
         idx = ; //  | 계정 ID
        try {
            Res result = apiInstance.update4(body, idx);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountApi#update4");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
UpdateReq *body = ; // 
 *idx = ; // 계정 ID

AccountApi *apiInstance = [[AccountApi alloc] init];

// 계정 수정
[apiInstance update4With:body
    idx:idx
              completionHandler: ^(Res output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.AccountApi()
var body = ; // {{UpdateReq}} 
var idx = ; // {{}} 계정 ID

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.update4(bodyidx, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class update4Example
    {
        public void main()
        {


            var apiInstance = new AccountApi();
            var body = new UpdateReq(); // UpdateReq | 
            var idx = new (); //  | 계정 ID

            try
            {
                // 계정 수정
                Res result = apiInstance.update4(body, idx);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountApi.update4: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiAccountApi();
$body = ; // UpdateReq | 
$idx = ; //  | 계정 ID

try {
    $result = $api_instance->update4($body, $idx);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AccountApi->update4: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AccountApi;


my $api_instance = WWW::SwaggerClient::AccountApi->new();
my $body = WWW::SwaggerClient::Object::UpdateReq->new(); # UpdateReq | 
my $idx = ; #  | 계정 ID

eval { 
    my $result = $api_instance->update4(body => $body, idx => $idx);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AccountApi->update4: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.AccountApi()
body =  # UpdateReq | 
idx =  #  | 계정 ID

try: 
    # 계정 수정
    api_response = api_instance.update4(body, idx)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountApi->update4: %s\n" % e)

Parameters

Path parameters
Name Description
idx*
(int64)
계정 ID
Required
Body parameters
Name Description
body *

Responses

Status: 200 - 수정 성공

Status: 400 - 잘못된 요청

Status: 404 - 대상을 찾을 수 없음

Status: 500 - 서버 오류


AccountRequest

approve1

계정 요청 승인

관리자가 계정 생성 요청을 승인합니다.


/admin/account-requests/{idx}/approve

Usage and SDK Samples

curl -X PUT\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"http://192.100.200.111:8080/admin/account-requests/{idx}/approve"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountRequestApi;

import java.io.File;
import java.util.*;

public class AccountRequestApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        AccountRequestApi apiInstance = new AccountRequestApi();
        ApproveReq body = ; // ApproveReq | 
         idx = ; //  | 요청 ID
        try {
            Res result = apiInstance.approve1(body, idx);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountRequestApi#approve1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountRequestApi;

public class AccountRequestApiExample {

    public static void main(String[] args) {
        AccountRequestApi apiInstance = new AccountRequestApi();
        ApproveReq body = ; // ApproveReq | 
         idx = ; //  | 요청 ID
        try {
            Res result = apiInstance.approve1(body, idx);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountRequestApi#approve1");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
ApproveReq *body = ; // 
 *idx = ; // 요청 ID

AccountRequestApi *apiInstance = [[AccountRequestApi alloc] init];

// 계정 요청 승인
[apiInstance approve1With:body
    idx:idx
              completionHandler: ^(Res output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.AccountRequestApi()
var body = ; // {{ApproveReq}} 
var idx = ; // {{}} 요청 ID

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.approve1(bodyidx, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class approve1Example
    {
        public void main()
        {


            var apiInstance = new AccountRequestApi();
            var body = new ApproveReq(); // ApproveReq | 
            var idx = new (); //  | 요청 ID

            try
            {
                // 계정 요청 승인
                Res result = apiInstance.approve1(body, idx);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountRequestApi.approve1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiAccountRequestApi();
$body = ; // ApproveReq | 
$idx = ; //  | 요청 ID

try {
    $result = $api_instance->approve1($body, $idx);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AccountRequestApi->approve1: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AccountRequestApi;


my $api_instance = WWW::SwaggerClient::AccountRequestApi->new();
my $body = WWW::SwaggerClient::Object::ApproveReq->new(); # ApproveReq | 
my $idx = ; #  | 요청 ID

eval { 
    my $result = $api_instance->approve1(body => $body, idx => $idx);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AccountRequestApi->approve1: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.AccountRequestApi()
body =  # ApproveReq | 
idx =  #  | 요청 ID

try: 
    # 계정 요청 승인
    api_response = api_instance.approve1(body, idx)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountRequestApi->approve1: %s\n" % e)

Parameters

Path parameters
Name Description
idx*
(int64)
요청 ID
Required
Body parameters
Name Description
body *

Responses

Status: 200 - 승인 성공

Status: 400 - 잘못된 요청

Status: 404 - 대상을 찾을 수 없음

Status: 500 - 서버 오류


create8

계정 생성 요청 제출

인증된 사용자가 계정 생성 요청을 제출합니다.


/account-requests

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"http://192.100.200.111:8080/account-requests"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountRequestApi;

import java.io.File;
import java.util.*;

public class AccountRequestApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        AccountRequestApi apiInstance = new AccountRequestApi();
        CreateReq body = ; // CreateReq | 
        try {
            Res result = apiInstance.create8(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountRequestApi#create8");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountRequestApi;

public class AccountRequestApiExample {

    public static void main(String[] args) {
        AccountRequestApi apiInstance = new AccountRequestApi();
        CreateReq body = ; // CreateReq | 
        try {
            Res result = apiInstance.create8(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountRequestApi#create8");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
CreateReq *body = ; // 

AccountRequestApi *apiInstance = [[AccountRequestApi alloc] init];

// 계정 생성 요청 제출
[apiInstance create8With:body
              completionHandler: ^(Res output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.AccountRequestApi()
var body = ; // {{CreateReq}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.create8(body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class create8Example
    {
        public void main()
        {


            var apiInstance = new AccountRequestApi();
            var body = new CreateReq(); // CreateReq | 

            try
            {
                // 계정 생성 요청 제출
                Res result = apiInstance.create8(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountRequestApi.create8: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiAccountRequestApi();
$body = ; // CreateReq | 

try {
    $result = $api_instance->create8($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AccountRequestApi->create8: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AccountRequestApi;


my $api_instance = WWW::SwaggerClient::AccountRequestApi->new();
my $body = WWW::SwaggerClient::Object::CreateReq->new(); # CreateReq | 

eval { 
    my $result = $api_instance->create8(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AccountRequestApi->create8: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.AccountRequestApi()
body =  # CreateReq | 

try: 
    # 계정 생성 요청 제출
    api_response = api_instance.create8(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountRequestApi->create8: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - 제출 성공

Status: 400 - 잘못된 요청

Status: 500 - 서버 오류


getAll1

계정 요청 목록 조회

관리자가 계정 생성 요청 목록을 조회합니다.


/admin/account-requests

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/admin/account-requests?status="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountRequestApi;

import java.io.File;
import java.util.*;

public class AccountRequestApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        AccountRequestApi apiInstance = new AccountRequestApi();
         status = ; //  | 요청 상태 필터
        try {
            apiInstance.getAll1(status);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountRequestApi#getAll1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountRequestApi;

public class AccountRequestApiExample {

    public static void main(String[] args) {
        AccountRequestApi apiInstance = new AccountRequestApi();
         status = ; //  | 요청 상태 필터
        try {
            apiInstance.getAll1(status);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountRequestApi#getAll1");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *status = ; // 요청 상태 필터 (optional)

AccountRequestApi *apiInstance = [[AccountRequestApi alloc] init];

// 계정 요청 목록 조회
[apiInstance getAll1With:status
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.AccountRequestApi()
var opts = { 
  'status':  // {{}} 요청 상태 필터
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.getAll1(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getAll1Example
    {
        public void main()
        {


            var apiInstance = new AccountRequestApi();
            var status = new (); //  | 요청 상태 필터 (optional) 

            try
            {
                // 계정 요청 목록 조회
                apiInstance.getAll1(status);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountRequestApi.getAll1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiAccountRequestApi();
$status = ; //  | 요청 상태 필터

try {
    $api_instance->getAll1($status);
} catch (Exception $e) {
    echo 'Exception when calling AccountRequestApi->getAll1: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AccountRequestApi;


my $api_instance = WWW::SwaggerClient::AccountRequestApi->new();
my $status = ; #  | 요청 상태 필터

eval { 
    $api_instance->getAll1(status => $status);
};
if ($@) {
    warn "Exception when calling AccountRequestApi->getAll1: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.AccountRequestApi()
status =  #  | 요청 상태 필터 (optional)

try: 
    # 계정 요청 목록 조회
    api_instance.get_all1(status=status)
except ApiException as e:
    print("Exception when calling AccountRequestApi->getAll1: %s\n" % e)

Parameters

Query parameters
Name Description
status
요청 상태 필터

Responses

Status: 200 - 조회 성공

Status: 500 - 서버 오류


getOne1

계정 요청 단건 조회

관리자가 계정 생성 요청 상세를 조회합니다.


/admin/account-requests/{idx}

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/admin/account-requests/{idx}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountRequestApi;

import java.io.File;
import java.util.*;

public class AccountRequestApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        AccountRequestApi apiInstance = new AccountRequestApi();
         idx = ; //  | 
        try {
            Res result = apiInstance.getOne1(idx);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountRequestApi#getOne1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountRequestApi;

public class AccountRequestApiExample {

    public static void main(String[] args) {
        AccountRequestApi apiInstance = new AccountRequestApi();
         idx = ; //  | 
        try {
            Res result = apiInstance.getOne1(idx);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountRequestApi#getOne1");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *idx = ; // 

AccountRequestApi *apiInstance = [[AccountRequestApi alloc] init];

// 계정 요청 단건 조회
[apiInstance getOne1With:idx
              completionHandler: ^(Res output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.AccountRequestApi()
var idx = ; // {{}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getOne1(idx, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getOne1Example
    {
        public void main()
        {


            var apiInstance = new AccountRequestApi();
            var idx = new (); //  | 

            try
            {
                // 계정 요청 단건 조회
                Res result = apiInstance.getOne1(idx);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountRequestApi.getOne1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiAccountRequestApi();
$idx = ; //  | 

try {
    $result = $api_instance->getOne1($idx);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AccountRequestApi->getOne1: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AccountRequestApi;


my $api_instance = WWW::SwaggerClient::AccountRequestApi->new();
my $idx = ; #  | 

eval { 
    my $result = $api_instance->getOne1(idx => $idx);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AccountRequestApi->getOne1: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.AccountRequestApi()
idx =  #  | 

try: 
    # 계정 요청 단건 조회
    api_response = api_instance.get_one1(idx)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountRequestApi->getOne1: %s\n" % e)

Parameters

Path parameters
Name Description
idx*
(int64)
Required

Responses

Status: 200 - 조회 성공

Status: 404 - 대상을 찾을 수 없음

Status: 500 - 서버 오류


reject1

계정 요청 거절

관리자가 계정 생성 요청을 거절합니다.


/admin/account-requests/{idx}/reject

Usage and SDK Samples

curl -X PUT\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"http://192.100.200.111:8080/admin/account-requests/{idx}/reject"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountRequestApi;

import java.io.File;
import java.util.*;

public class AccountRequestApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        AccountRequestApi apiInstance = new AccountRequestApi();
         idx = ; //  | 요청 ID
        RejectReq body = ; // RejectReq | 
        try {
            Res result = apiInstance.reject1(idx, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountRequestApi#reject1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountRequestApi;

public class AccountRequestApiExample {

    public static void main(String[] args) {
        AccountRequestApi apiInstance = new AccountRequestApi();
         idx = ; //  | 요청 ID
        RejectReq body = ; // RejectReq | 
        try {
            Res result = apiInstance.reject1(idx, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountRequestApi#reject1");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *idx = ; // 요청 ID
RejectReq *body = ; //  (optional)

AccountRequestApi *apiInstance = [[AccountRequestApi alloc] init];

// 계정 요청 거절
[apiInstance reject1With:idx
    body:body
              completionHandler: ^(Res output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.AccountRequestApi()
var idx = ; // {{}} 요청 ID
var opts = { 
  'body':  // {{RejectReq}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.reject1(idx, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class reject1Example
    {
        public void main()
        {


            var apiInstance = new AccountRequestApi();
            var idx = new (); //  | 요청 ID
            var body = new RejectReq(); // RejectReq |  (optional) 

            try
            {
                // 계정 요청 거절
                Res result = apiInstance.reject1(idx, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountRequestApi.reject1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiAccountRequestApi();
$idx = ; //  | 요청 ID
$body = ; // RejectReq | 

try {
    $result = $api_instance->reject1($idx, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AccountRequestApi->reject1: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AccountRequestApi;


my $api_instance = WWW::SwaggerClient::AccountRequestApi->new();
my $idx = ; #  | 요청 ID
my $body = WWW::SwaggerClient::Object::RejectReq->new(); # RejectReq | 

eval { 
    my $result = $api_instance->reject1(idx => $idx, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AccountRequestApi->reject1: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.AccountRequestApi()
idx =  #  | 요청 ID
body =  # RejectReq |  (optional)

try: 
    # 계정 요청 거절
    api_response = api_instance.reject1(idx, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountRequestApi->reject1: %s\n" % e)

Parameters

Path parameters
Name Description
idx*
(int64)
요청 ID
Required
Body parameters
Name Description
body

Responses

Status: 200 - 거절 성공

Status: 404 - 대상을 찾을 수 없음

Status: 500 - 서버 오류


Analysis

delayRiskTasks

세부 작업 지연 위험 목록

프로젝트 기준 세부 작업 지연 위험 목록을 조회합니다.


/analysis/delay-risk-tasks

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/analysis/delay-risk-tasks?projectId=&tradeProcessId="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AnalysisApi;

import java.io.File;
import java.util.*;

public class AnalysisApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        AnalysisApi apiInstance = new AnalysisApi();
         projectId = ; //  | 프로젝트 ID
         tradeProcessId = ; //  | 공종/공정 ID
        try {
            apiInstance.delayRiskTasks(projectId, tradeProcessId);
        } catch (ApiException e) {
            System.err.println("Exception when calling AnalysisApi#delayRiskTasks");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AnalysisApi;

public class AnalysisApiExample {

    public static void main(String[] args) {
        AnalysisApi apiInstance = new AnalysisApi();
         projectId = ; //  | 프로젝트 ID
         tradeProcessId = ; //  | 공종/공정 ID
        try {
            apiInstance.delayRiskTasks(projectId, tradeProcessId);
        } catch (ApiException e) {
            System.err.println("Exception when calling AnalysisApi#delayRiskTasks");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *projectId = ; // 프로젝트 ID
 *tradeProcessId = ; // 공종/공정 ID (optional)

AnalysisApi *apiInstance = [[AnalysisApi alloc] init];

// 세부 작업 지연 위험 목록
[apiInstance delayRiskTasksWith:projectId
    tradeProcessId:tradeProcessId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.AnalysisApi()
var projectId = ; // {{}} 프로젝트 ID
var opts = { 
  'tradeProcessId':  // {{}} 공종/공정 ID
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.delayRiskTasks(projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class delayRiskTasksExample
    {
        public void main()
        {


            var apiInstance = new AnalysisApi();
            var projectId = new (); //  | 프로젝트 ID
            var tradeProcessId = new (); //  | 공종/공정 ID (optional) 

            try
            {
                // 세부 작업 지연 위험 목록
                apiInstance.delayRiskTasks(projectId, tradeProcessId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AnalysisApi.delayRiskTasks: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiAnalysisApi();
$projectId = ; //  | 프로젝트 ID
$tradeProcessId = ; //  | 공종/공정 ID

try {
    $api_instance->delayRiskTasks($projectId, $tradeProcessId);
} catch (Exception $e) {
    echo 'Exception when calling AnalysisApi->delayRiskTasks: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AnalysisApi;


my $api_instance = WWW::SwaggerClient::AnalysisApi->new();
my $projectId = ; #  | 프로젝트 ID
my $tradeProcessId = ; #  | 공종/공정 ID

eval { 
    $api_instance->delayRiskTasks(projectId => $projectId, tradeProcessId => $tradeProcessId);
};
if ($@) {
    warn "Exception when calling AnalysisApi->delayRiskTasks: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.AnalysisApi()
projectId =  #  | 프로젝트 ID
tradeProcessId =  #  | 공종/공정 ID (optional)

try: 
    # 세부 작업 지연 위험 목록
    api_instance.delay_risk_tasks(projectId, tradeProcessId=tradeProcessId)
except ApiException as e:
    print("Exception when calling AnalysisApi->delayRiskTasks: %s\n" % e)

Parameters

Query parameters
Name Description
projectId*
(int64)
프로젝트 ID
Required
tradeProcessId
(int64)
공종/공정 ID

Responses

Status: 200 - 조회 성공

Status: 500 - 서버 오류


progress

공정 진척률 비교

프로젝트 기준 공정 진척률 비교 목록을 조회합니다.


/analysis/progress

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/analysis/progress?projectId="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AnalysisApi;

import java.io.File;
import java.util.*;

public class AnalysisApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        AnalysisApi apiInstance = new AnalysisApi();
         projectId = ; //  | 
        try {
            apiInstance.progress(projectId);
        } catch (ApiException e) {
            System.err.println("Exception when calling AnalysisApi#progress");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AnalysisApi;

public class AnalysisApiExample {

    public static void main(String[] args) {
        AnalysisApi apiInstance = new AnalysisApi();
         projectId = ; //  | 
        try {
            apiInstance.progress(projectId);
        } catch (ApiException e) {
            System.err.println("Exception when calling AnalysisApi#progress");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *projectId = ; // 

AnalysisApi *apiInstance = [[AnalysisApi alloc] init];

// 공정 진척률 비교
[apiInstance progressWith:projectId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.AnalysisApi()
var projectId = ; // {{}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.progress(projectId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class progressExample
    {
        public void main()
        {


            var apiInstance = new AnalysisApi();
            var projectId = new (); //  | 

            try
            {
                // 공정 진척률 비교
                apiInstance.progress(projectId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AnalysisApi.progress: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiAnalysisApi();
$projectId = ; //  | 

try {
    $api_instance->progress($projectId);
} catch (Exception $e) {
    echo 'Exception when calling AnalysisApi->progress: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AnalysisApi;


my $api_instance = WWW::SwaggerClient::AnalysisApi->new();
my $projectId = ; #  | 

eval { 
    $api_instance->progress(projectId => $projectId);
};
if ($@) {
    warn "Exception when calling AnalysisApi->progress: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.AnalysisApi()
projectId =  #  | 

try: 
    # 공정 진척률 비교
    api_instance.progress(projectId)
except ApiException as e:
    print("Exception when calling AnalysisApi->progress: %s\n" % e)

Parameters

Query parameters
Name Description
projectId*
(int64)
Required

Responses

Status: 200 - 조회 성공

Status: 500 - 서버 오류


Auth

changePassword

비밀번호 변경

현재 비밀번호 검증 후 새 비밀번호로 변경합니다.


/auth/password

Usage and SDK Samples

curl -X PUT\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"http://192.100.200.111:8080/auth/password"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AuthApi;

import java.io.File;
import java.util.*;

public class AuthApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        AuthApi apiInstance = new AuthApi();
        ChangePasswordReq body = ; // ChangePasswordReq | 
        try {
            apiInstance.changePassword(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuthApi#changePassword");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AuthApi;

public class AuthApiExample {

    public static void main(String[] args) {
        AuthApi apiInstance = new AuthApi();
        ChangePasswordReq body = ; // ChangePasswordReq | 
        try {
            apiInstance.changePassword(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuthApi#changePassword");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
ChangePasswordReq *body = ; // 

AuthApi *apiInstance = [[AuthApi alloc] init];

// 비밀번호 변경
[apiInstance changePasswordWith:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.AuthApi()
var body = ; // {{ChangePasswordReq}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.changePassword(body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class changePasswordExample
    {
        public void main()
        {


            var apiInstance = new AuthApi();
            var body = new ChangePasswordReq(); // ChangePasswordReq | 

            try
            {
                // 비밀번호 변경
                apiInstance.changePassword(body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AuthApi.changePassword: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiAuthApi();
$body = ; // ChangePasswordReq | 

try {
    $api_instance->changePassword($body);
} catch (Exception $e) {
    echo 'Exception when calling AuthApi->changePassword: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AuthApi;


my $api_instance = WWW::SwaggerClient::AuthApi->new();
my $body = WWW::SwaggerClient::Object::ChangePasswordReq->new(); # ChangePasswordReq | 

eval { 
    $api_instance->changePassword(body => $body);
};
if ($@) {
    warn "Exception when calling AuthApi->changePassword: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.AuthApi()
body =  # ChangePasswordReq | 

try: 
    # 비밀번호 변경
    api_instance.change_password(body)
except ApiException as e:
    print("Exception when calling AuthApi->changePassword: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - 변경 성공

Status: 400 - 잘못된 요청

Status: 401 - 인증 실패


login1

로그인

로그인 ID와 비밀번호로 인증 후 토큰을 발급합니다.


/auth/login

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"http://192.100.200.111:8080/auth/login"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AuthApi;

import java.io.File;
import java.util.*;

public class AuthApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        AuthApi apiInstance = new AuthApi();
        LoginReq body = ; // LoginReq | 
        try {
            LoginRes result = apiInstance.login1(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuthApi#login1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AuthApi;

public class AuthApiExample {

    public static void main(String[] args) {
        AuthApi apiInstance = new AuthApi();
        LoginReq body = ; // LoginReq | 
        try {
            LoginRes result = apiInstance.login1(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuthApi#login1");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
LoginReq *body = ; // 

AuthApi *apiInstance = [[AuthApi alloc] init];

// 로그인
[apiInstance login1With:body
              completionHandler: ^(LoginRes output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.AuthApi()
var body = ; // {{LoginReq}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.login1(body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class login1Example
    {
        public void main()
        {


            var apiInstance = new AuthApi();
            var body = new LoginReq(); // LoginReq | 

            try
            {
                // 로그인
                LoginRes result = apiInstance.login1(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AuthApi.login1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiAuthApi();
$body = ; // LoginReq | 

try {
    $result = $api_instance->login1($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AuthApi->login1: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AuthApi;


my $api_instance = WWW::SwaggerClient::AuthApi->new();
my $body = WWW::SwaggerClient::Object::LoginReq->new(); # LoginReq | 

eval { 
    my $result = $api_instance->login1(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AuthApi->login1: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.AuthApi()
body =  # LoginReq | 

try: 
    # 로그인
    api_response = api_instance.login1(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AuthApi->login1: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - 로그인 성공

Status: 400 - 잘못된 요청

Status: 401 - 인증 실패


DailyReport

getReports

특정 일자 공사일보 조회

지정한 날짜의 공사일보 목록을 조회합니다.


/report/

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/report/?date="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DailyReportApi;

import java.io.File;
import java.util.*;

public class DailyReportApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        DailyReportApi apiInstance = new DailyReportApi();
         date = ; //  | 조회 기준 일자
        try {
            apiInstance.getReports(date);
        } catch (ApiException e) {
            System.err.println("Exception when calling DailyReportApi#getReports");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DailyReportApi;

public class DailyReportApiExample {

    public static void main(String[] args) {
        DailyReportApi apiInstance = new DailyReportApi();
         date = ; //  | 조회 기준 일자
        try {
            apiInstance.getReports(date);
        } catch (ApiException e) {
            System.err.println("Exception when calling DailyReportApi#getReports");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *date = ; // 조회 기준 일자

DailyReportApi *apiInstance = [[DailyReportApi alloc] init];

// 특정 일자 공사일보 조회
[apiInstance getReportsWith:date
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.DailyReportApi()
var date = ; // {{}} 조회 기준 일자

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.getReports(date, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getReportsExample
    {
        public void main()
        {


            var apiInstance = new DailyReportApi();
            var date = new (); //  | 조회 기준 일자

            try
            {
                // 특정 일자 공사일보 조회
                apiInstance.getReports(date);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DailyReportApi.getReports: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiDailyReportApi();
$date = ; //  | 조회 기준 일자

try {
    $api_instance->getReports($date);
} catch (Exception $e) {
    echo 'Exception when calling DailyReportApi->getReports: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DailyReportApi;


my $api_instance = WWW::SwaggerClient::DailyReportApi->new();
my $date = ; #  | 조회 기준 일자

eval { 
    $api_instance->getReports(date => $date);
};
if ($@) {
    warn "Exception when calling DailyReportApi->getReports: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.DailyReportApi()
date =  #  | 조회 기준 일자

try: 
    # 특정 일자 공사일보 조회
    api_instance.get_reports(date)
except ApiException as e:
    print("Exception when calling DailyReportApi->getReports: %s\n" % e)

Parameters

Query parameters
Name Description
date*
(date)
조회 기준 일자
Required

Responses

Status: 200 - 조회 성공

Status: 400 - 잘못된 날짜 형식


submitReport

공사일보 제출

공사일보를 신규 생성하거나 기존 데이터를 수정하여 저장합니다.


/report/

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"http://192.100.200.111:8080/report/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DailyReportApi;

import java.io.File;
import java.util.*;

public class DailyReportApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        DailyReportApi apiInstance = new DailyReportApi();
        Req body = ; // Req | 공사일보 제출 요청
        try {
            apiInstance.submitReport(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling DailyReportApi#submitReport");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DailyReportApi;

public class DailyReportApiExample {

    public static void main(String[] args) {
        DailyReportApi apiInstance = new DailyReportApi();
        Req body = ; // Req | 공사일보 제출 요청
        try {
            apiInstance.submitReport(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling DailyReportApi#submitReport");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
Req *body = ; // 공사일보 제출 요청

DailyReportApi *apiInstance = [[DailyReportApi alloc] init];

// 공사일보 제출
[apiInstance submitReportWith:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.DailyReportApi()
var body = ; // {{Req}} 공사일보 제출 요청

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.submitReport(body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class submitReportExample
    {
        public void main()
        {


            var apiInstance = new DailyReportApi();
            var body = new Req(); // Req | 공사일보 제출 요청

            try
            {
                // 공사일보 제출
                apiInstance.submitReport(body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DailyReportApi.submitReport: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiDailyReportApi();
$body = ; // Req | 공사일보 제출 요청

try {
    $api_instance->submitReport($body);
} catch (Exception $e) {
    echo 'Exception when calling DailyReportApi->submitReport: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DailyReportApi;


my $api_instance = WWW::SwaggerClient::DailyReportApi->new();
my $body = WWW::SwaggerClient::Object::Req->new(); # Req | 공사일보 제출 요청

eval { 
    $api_instance->submitReport(body => $body);
};
if ($@) {
    warn "Exception when calling DailyReportApi->submitReport: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.DailyReportApi()
body =  # Req | 공사일보 제출 요청

try: 
    # 공사일보 제출
    api_instance.submit_report(body)
except ApiException as e:
    print("Exception when calling DailyReportApi->submitReport: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - 저장 성공

Status: 400 - 잘못된 요청 데이터


DocumentManagement

download

문서 다운로드 링크 조회

문서 다운로드 URL을 조회합니다.


/document-management/download/{idx}

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/document-management/download/{idx}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DocumentManagementApi;

import java.io.File;
import java.util.*;

public class DocumentManagementApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        DocumentManagementApi apiInstance = new DocumentManagementApi();
         idx = ; //  | 
        try {
            apiInstance.download(idx);
        } catch (ApiException e) {
            System.err.println("Exception when calling DocumentManagementApi#download");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DocumentManagementApi;

public class DocumentManagementApiExample {

    public static void main(String[] args) {
        DocumentManagementApi apiInstance = new DocumentManagementApi();
         idx = ; //  | 
        try {
            apiInstance.download(idx);
        } catch (ApiException e) {
            System.err.println("Exception when calling DocumentManagementApi#download");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *idx = ; // 

DocumentManagementApi *apiInstance = [[DocumentManagementApi alloc] init];

// 문서 다운로드 링크 조회
[apiInstance downloadWith:idx
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.DocumentManagementApi()
var idx = ; // {{}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.download(idx, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class downloadExample
    {
        public void main()
        {


            var apiInstance = new DocumentManagementApi();
            var idx = new (); //  | 

            try
            {
                // 문서 다운로드 링크 조회
                apiInstance.download(idx);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DocumentManagementApi.download: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiDocumentManagementApi();
$idx = ; //  | 

try {
    $api_instance->download($idx);
} catch (Exception $e) {
    echo 'Exception when calling DocumentManagementApi->download: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DocumentManagementApi;


my $api_instance = WWW::SwaggerClient::DocumentManagementApi->new();
my $idx = ; #  | 

eval { 
    $api_instance->download(idx => $idx);
};
if ($@) {
    warn "Exception when calling DocumentManagementApi->download: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.DocumentManagementApi()
idx =  #  | 

try: 
    # 문서 다운로드 링크 조회
    api_instance.download(idx)
except ApiException as e:
    print("Exception when calling DocumentManagementApi->download: %s\n" % e)

Parameters

Path parameters
Name Description
idx*
(int64)
Required

Responses

Status: 200 - 조회 성공

Status: 404 - 문서를 찾을 수 없음

Status: 500 - 서버 오류


preview

문서 미리보기 링크 조회

문서 미리보기 URL을 조회합니다.


/document-management/preview/{idx}

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/document-management/preview/{idx}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DocumentManagementApi;

import java.io.File;
import java.util.*;

public class DocumentManagementApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        DocumentManagementApi apiInstance = new DocumentManagementApi();
         idx = ; //  | 
        try {
            apiInstance.preview(idx);
        } catch (ApiException e) {
            System.err.println("Exception when calling DocumentManagementApi#preview");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DocumentManagementApi;

public class DocumentManagementApiExample {

    public static void main(String[] args) {
        DocumentManagementApi apiInstance = new DocumentManagementApi();
         idx = ; //  | 
        try {
            apiInstance.preview(idx);
        } catch (ApiException e) {
            System.err.println("Exception when calling DocumentManagementApi#preview");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *idx = ; // 

DocumentManagementApi *apiInstance = [[DocumentManagementApi alloc] init];

// 문서 미리보기 링크 조회
[apiInstance previewWith:idx
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.DocumentManagementApi()
var idx = ; // {{}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.preview(idx, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class previewExample
    {
        public void main()
        {


            var apiInstance = new DocumentManagementApi();
            var idx = new (); //  | 

            try
            {
                // 문서 미리보기 링크 조회
                apiInstance.preview(idx);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DocumentManagementApi.preview: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiDocumentManagementApi();
$idx = ; //  | 

try {
    $api_instance->preview($idx);
} catch (Exception $e) {
    echo 'Exception when calling DocumentManagementApi->preview: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DocumentManagementApi;


my $api_instance = WWW::SwaggerClient::DocumentManagementApi->new();
my $idx = ; #  | 

eval { 
    $api_instance->preview(idx => $idx);
};
if ($@) {
    warn "Exception when calling DocumentManagementApi->preview: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.DocumentManagementApi()
idx =  #  | 

try: 
    # 문서 미리보기 링크 조회
    api_instance.preview(idx)
except ApiException as e:
    print("Exception when calling DocumentManagementApi->preview: %s\n" % e)

Parameters

Path parameters
Name Description
idx*
(int64)
Required

Responses

Status: 200 - 조회 성공

Status: 404 - 문서를 찾을 수 없음

Status: 500 - 서버 오류


read5

문서 목록 조회

프로젝트 기준 문서 목록을 조회합니다.


/document-management/{project_id}

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/document-management/{project_id}?docType=&pageable="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DocumentManagementApi;

import java.io.File;
import java.util.*;

public class DocumentManagementApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        DocumentManagementApi apiInstance = new DocumentManagementApi();
         projectId = ; //  | 프로젝트 ID
        Pageable pageable = ; // Pageable | 
         docType = ; //  | 문서 타입
        try {
            PageRes result = apiInstance.read5(projectId, pageable, docType);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DocumentManagementApi#read5");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DocumentManagementApi;

public class DocumentManagementApiExample {

    public static void main(String[] args) {
        DocumentManagementApi apiInstance = new DocumentManagementApi();
         projectId = ; //  | 프로젝트 ID
        Pageable pageable = ; // Pageable | 
         docType = ; //  | 문서 타입
        try {
            PageRes result = apiInstance.read5(projectId, pageable, docType);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DocumentManagementApi#read5");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *projectId = ; // 프로젝트 ID
Pageable *pageable = ; // 
 *docType = ; // 문서 타입 (optional)

DocumentManagementApi *apiInstance = [[DocumentManagementApi alloc] init];

// 문서 목록 조회
[apiInstance read5With:projectId
    pageable:pageable
    docType:docType
              completionHandler: ^(PageRes output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.DocumentManagementApi()
var projectId = ; // {{}} 프로젝트 ID
var pageable = ; // {{Pageable}} 
var opts = { 
  'docType':  // {{}} 문서 타입
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.read5(projectId, pageable, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class read5Example
    {
        public void main()
        {


            var apiInstance = new DocumentManagementApi();
            var projectId = new (); //  | 프로젝트 ID
            var pageable = new Pageable(); // Pageable | 
            var docType = new (); //  | 문서 타입 (optional) 

            try
            {
                // 문서 목록 조회
                PageRes result = apiInstance.read5(projectId, pageable, docType);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DocumentManagementApi.read5: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiDocumentManagementApi();
$projectId = ; //  | 프로젝트 ID
$pageable = ; // Pageable | 
$docType = ; //  | 문서 타입

try {
    $result = $api_instance->read5($projectId, $pageable, $docType);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DocumentManagementApi->read5: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DocumentManagementApi;


my $api_instance = WWW::SwaggerClient::DocumentManagementApi->new();
my $projectId = ; #  | 프로젝트 ID
my $pageable = ; # Pageable | 
my $docType = ; #  | 문서 타입

eval { 
    my $result = $api_instance->read5(projectId => $projectId, pageable => $pageable, docType => $docType);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DocumentManagementApi->read5: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.DocumentManagementApi()
projectId =  #  | 프로젝트 ID
pageable =  # Pageable | 
docType =  #  | 문서 타입 (optional)

try: 
    # 문서 목록 조회
    api_response = api_instance.read5(projectId, pageable, docType=docType)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DocumentManagementApi->read5: %s\n" % e)

Parameters

Path parameters
Name Description
project_id*
(int64)
프로젝트 ID
Required
Query parameters
Name Description
docType
문서 타입
pageable*
Pageable
Required

Responses

Status: 200 - 조회 성공

Status: 500 - 서버 오류


readPinned

고정 공정표 목록 조회

프로젝트의 고정 공정표 목록을 조회합니다.


/document-management/{project_id}/pinned

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/document-management/{project_id}/pinned"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DocumentManagementApi;

import java.io.File;
import java.util.*;

public class DocumentManagementApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        DocumentManagementApi apiInstance = new DocumentManagementApi();
         projectId = ; //  | 
        try {
            apiInstance.readPinned(projectId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DocumentManagementApi#readPinned");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DocumentManagementApi;

public class DocumentManagementApiExample {

    public static void main(String[] args) {
        DocumentManagementApi apiInstance = new DocumentManagementApi();
         projectId = ; //  | 
        try {
            apiInstance.readPinned(projectId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DocumentManagementApi#readPinned");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *projectId = ; // 

DocumentManagementApi *apiInstance = [[DocumentManagementApi alloc] init];

// 고정 공정표 목록 조회
[apiInstance readPinnedWith:projectId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.DocumentManagementApi()
var projectId = ; // {{}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.readPinned(projectId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class readPinnedExample
    {
        public void main()
        {


            var apiInstance = new DocumentManagementApi();
            var projectId = new (); //  | 

            try
            {
                // 고정 공정표 목록 조회
                apiInstance.readPinned(projectId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DocumentManagementApi.readPinned: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiDocumentManagementApi();
$projectId = ; //  | 

try {
    $api_instance->readPinned($projectId);
} catch (Exception $e) {
    echo 'Exception when calling DocumentManagementApi->readPinned: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DocumentManagementApi;


my $api_instance = WWW::SwaggerClient::DocumentManagementApi->new();
my $projectId = ; #  | 

eval { 
    $api_instance->readPinned(projectId => $projectId);
};
if ($@) {
    warn "Exception when calling DocumentManagementApi->readPinned: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.DocumentManagementApi()
projectId =  #  | 

try: 
    # 고정 공정표 목록 조회
    api_instance.read_pinned(projectId)
except ApiException as e:
    print("Exception when calling DocumentManagementApi->readPinned: %s\n" % e)

Parameters

Path parameters
Name Description
project_id*
(int64)
Required

Responses

Status: 200 - 조회 성공

Status: 500 - 서버 오류


readUploadedDocuments

업로드 문서 목록 조회

업로드 문서를 검색/정렬 조건으로 조회합니다.


/document-management/{project_id}/uploaded

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/document-management/{project_id}/uploaded?docType=&q=&startDate=&endDate=&partnerName=&sortField=&sortDir=&pageable="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DocumentManagementApi;

import java.io.File;
import java.util.*;

public class DocumentManagementApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        DocumentManagementApi apiInstance = new DocumentManagementApi();
         projectId = ; //  | 프로젝트 ID
        Pageable pageable = ; // Pageable | 
         docType = ; //  | 문서 타입 코드
         q = ; //  | 검색어
         startDate = ; //  | 조회 시작일
         endDate = ; //  | 조회 종료일
         partnerName = ; //  | 협력사명
         sortField = ; //  | 정렬 필드
         sortDir = ; //  | 정렬 방향
        try {
            UploadedDocumentPageRes result = apiInstance.readUploadedDocuments(projectId, pageable, docType, q, startDate, endDate, partnerName, sortField, sortDir);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DocumentManagementApi#readUploadedDocuments");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DocumentManagementApi;

public class DocumentManagementApiExample {

    public static void main(String[] args) {
        DocumentManagementApi apiInstance = new DocumentManagementApi();
         projectId = ; //  | 프로젝트 ID
        Pageable pageable = ; // Pageable | 
         docType = ; //  | 문서 타입 코드
         q = ; //  | 검색어
         startDate = ; //  | 조회 시작일
         endDate = ; //  | 조회 종료일
         partnerName = ; //  | 협력사명
         sortField = ; //  | 정렬 필드
         sortDir = ; //  | 정렬 방향
        try {
            UploadedDocumentPageRes result = apiInstance.readUploadedDocuments(projectId, pageable, docType, q, startDate, endDate, partnerName, sortField, sortDir);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DocumentManagementApi#readUploadedDocuments");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *projectId = ; // 프로젝트 ID
Pageable *pageable = ; // 
 *docType = ; // 문서 타입 코드 (optional) (default to ALL)
 *q = ; // 검색어 (optional)
 *startDate = ; // 조회 시작일 (optional)
 *endDate = ; // 조회 종료일 (optional)
 *partnerName = ; // 협력사명 (optional)
 *sortField = ; // 정렬 필드 (optional) (default to uploadDate)
 *sortDir = ; // 정렬 방향 (optional) (default to desc)

DocumentManagementApi *apiInstance = [[DocumentManagementApi alloc] init];

// 업로드 문서 목록 조회
[apiInstance readUploadedDocumentsWith:projectId
    pageable:pageable
    docType:docType
    q:q
    startDate:startDate
    endDate:endDate
    partnerName:partnerName
    sortField:sortField
    sortDir:sortDir
              completionHandler: ^(UploadedDocumentPageRes output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.DocumentManagementApi()
var projectId = ; // {{}} 프로젝트 ID
var pageable = ; // {{Pageable}} 
var opts = { 
  'docType': , // {{}} 문서 타입 코드
  'q': , // {{}} 검색어
  'startDate': , // {{}} 조회 시작일
  'endDate': , // {{}} 조회 종료일
  'partnerName': , // {{}} 협력사명
  'sortField': , // {{}} 정렬 필드
  'sortDir':  // {{}} 정렬 방향
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.readUploadedDocuments(projectId, pageable, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class readUploadedDocumentsExample
    {
        public void main()
        {


            var apiInstance = new DocumentManagementApi();
            var projectId = new (); //  | 프로젝트 ID
            var pageable = new Pageable(); // Pageable | 
            var docType = new (); //  | 문서 타입 코드 (optional)  (default to ALL)
            var q = new (); //  | 검색어 (optional) 
            var startDate = new (); //  | 조회 시작일 (optional) 
            var endDate = new (); //  | 조회 종료일 (optional) 
            var partnerName = new (); //  | 협력사명 (optional) 
            var sortField = new (); //  | 정렬 필드 (optional)  (default to uploadDate)
            var sortDir = new (); //  | 정렬 방향 (optional)  (default to desc)

            try
            {
                // 업로드 문서 목록 조회
                UploadedDocumentPageRes result = apiInstance.readUploadedDocuments(projectId, pageable, docType, q, startDate, endDate, partnerName, sortField, sortDir);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DocumentManagementApi.readUploadedDocuments: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiDocumentManagementApi();
$projectId = ; //  | 프로젝트 ID
$pageable = ; // Pageable | 
$docType = ; //  | 문서 타입 코드
$q = ; //  | 검색어
$startDate = ; //  | 조회 시작일
$endDate = ; //  | 조회 종료일
$partnerName = ; //  | 협력사명
$sortField = ; //  | 정렬 필드
$sortDir = ; //  | 정렬 방향

try {
    $result = $api_instance->readUploadedDocuments($projectId, $pageable, $docType, $q, $startDate, $endDate, $partnerName, $sortField, $sortDir);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DocumentManagementApi->readUploadedDocuments: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DocumentManagementApi;


my $api_instance = WWW::SwaggerClient::DocumentManagementApi->new();
my $projectId = ; #  | 프로젝트 ID
my $pageable = ; # Pageable | 
my $docType = ; #  | 문서 타입 코드
my $q = ; #  | 검색어
my $startDate = ; #  | 조회 시작일
my $endDate = ; #  | 조회 종료일
my $partnerName = ; #  | 협력사명
my $sortField = ; #  | 정렬 필드
my $sortDir = ; #  | 정렬 방향

eval { 
    my $result = $api_instance->readUploadedDocuments(projectId => $projectId, pageable => $pageable, docType => $docType, q => $q, startDate => $startDate, endDate => $endDate, partnerName => $partnerName, sortField => $sortField, sortDir => $sortDir);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DocumentManagementApi->readUploadedDocuments: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.DocumentManagementApi()
projectId =  #  | 프로젝트 ID
pageable =  # Pageable | 
docType =  #  | 문서 타입 코드 (optional) (default to ALL)
q =  #  | 검색어 (optional)
startDate =  #  | 조회 시작일 (optional)
endDate =  #  | 조회 종료일 (optional)
partnerName =  #  | 협력사명 (optional)
sortField =  #  | 정렬 필드 (optional) (default to uploadDate)
sortDir =  #  | 정렬 방향 (optional) (default to desc)

try: 
    # 업로드 문서 목록 조회
    api_response = api_instance.read_uploaded_documents(projectId, pageable, docType=docType, q=q, startDate=startDate, endDate=endDate, partnerName=partnerName, sortField=sortField, sortDir=sortDir)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DocumentManagementApi->readUploadedDocuments: %s\n" % e)

Parameters

Path parameters
Name Description
project_id*
(int64)
프로젝트 ID
Required
Query parameters
Name Description
docType
문서 타입 코드
q
검색어
startDate
(date)
조회 시작일
endDate
(date)
조회 종료일
partnerName
협력사명
sortField
정렬 필드
sortDir
정렬 방향
pageable*
Pageable
Required

Responses

Status: 200 - 조회 성공

Status: 500 - 서버 오류


serveLocalFile

로컬 파일 서빙

로컬 저장 모드에서 파일을 직접 서빙합니다.


/document-management/local-files/{encodedKey}

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/document-management/local-files/{encodedKey}?fileName=&preview="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DocumentManagementApi;

import java.io.File;
import java.util.*;

public class DocumentManagementApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        DocumentManagementApi apiInstance = new DocumentManagementApi();
         encodedKey = ; //  | 인코딩된 파일 키
         fileName = ; //  | 파일명
         preview = ; //  | 미리보기 여부
        try {
            apiInstance.serveLocalFile(encodedKey, fileName, preview);
        } catch (ApiException e) {
            System.err.println("Exception when calling DocumentManagementApi#serveLocalFile");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DocumentManagementApi;

public class DocumentManagementApiExample {

    public static void main(String[] args) {
        DocumentManagementApi apiInstance = new DocumentManagementApi();
         encodedKey = ; //  | 인코딩된 파일 키
         fileName = ; //  | 파일명
         preview = ; //  | 미리보기 여부
        try {
            apiInstance.serveLocalFile(encodedKey, fileName, preview);
        } catch (ApiException e) {
            System.err.println("Exception when calling DocumentManagementApi#serveLocalFile");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *encodedKey = ; // 인코딩된 파일 키
 *fileName = ; // 파일명
 *preview = ; // 미리보기 여부 (optional) (default to false)

DocumentManagementApi *apiInstance = [[DocumentManagementApi alloc] init];

// 로컬 파일 서빙
[apiInstance serveLocalFileWith:encodedKey
    fileName:fileName
    preview:preview
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.DocumentManagementApi()
var encodedKey = ; // {{}} 인코딩된 파일 키
var fileName = ; // {{}} 파일명
var opts = { 
  'preview':  // {{}} 미리보기 여부
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.serveLocalFile(encodedKey, fileName, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class serveLocalFileExample
    {
        public void main()
        {


            var apiInstance = new DocumentManagementApi();
            var encodedKey = new (); //  | 인코딩된 파일 키
            var fileName = new (); //  | 파일명
            var preview = new (); //  | 미리보기 여부 (optional)  (default to false)

            try
            {
                // 로컬 파일 서빙
                apiInstance.serveLocalFile(encodedKey, fileName, preview);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DocumentManagementApi.serveLocalFile: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiDocumentManagementApi();
$encodedKey = ; //  | 인코딩된 파일 키
$fileName = ; //  | 파일명
$preview = ; //  | 미리보기 여부

try {
    $api_instance->serveLocalFile($encodedKey, $fileName, $preview);
} catch (Exception $e) {
    echo 'Exception when calling DocumentManagementApi->serveLocalFile: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DocumentManagementApi;


my $api_instance = WWW::SwaggerClient::DocumentManagementApi->new();
my $encodedKey = ; #  | 인코딩된 파일 키
my $fileName = ; #  | 파일명
my $preview = ; #  | 미리보기 여부

eval { 
    $api_instance->serveLocalFile(encodedKey => $encodedKey, fileName => $fileName, preview => $preview);
};
if ($@) {
    warn "Exception when calling DocumentManagementApi->serveLocalFile: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.DocumentManagementApi()
encodedKey =  #  | 인코딩된 파일 키
fileName =  #  | 파일명
preview =  #  | 미리보기 여부 (optional) (default to false)

try: 
    # 로컬 파일 서빙
    api_instance.serve_local_file(encodedKey, fileName, preview=preview)
except ApiException as e:
    print("Exception when calling DocumentManagementApi->serveLocalFile: %s\n" % e)

Parameters

Path parameters
Name Description
encodedKey*
인코딩된 파일 키
Required
Query parameters
Name Description
fileName*
파일명
Required
preview
미리보기 여부

Responses

Status: 200 - 서빙 성공

Status: 404 - 파일을 찾을 수 없음


upload

문서 업로드

문서를 업로드하고 저장 정보를 등록합니다.


/document-management/upload

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
-H "Content-Type: multipart/form-data"\
"http://192.100.200.111:8080/document-management/upload"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DocumentManagementApi;

import java.io.File;
import java.util.*;

public class DocumentManagementApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        DocumentManagementApi apiInstance = new DocumentManagementApi();
         projectId = ; //  | 
         file = ; //  | 
         docType = ; //  | 
         isPartner = ; //  | 
         affiliationName = ; //  | 
         name = ; //  | 
        try {
            apiInstance.upload(projectId, file, docType, isPartner, affiliationName, name);
        } catch (ApiException e) {
            System.err.println("Exception when calling DocumentManagementApi#upload");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DocumentManagementApi;

public class DocumentManagementApiExample {

    public static void main(String[] args) {
        DocumentManagementApi apiInstance = new DocumentManagementApi();
         projectId = ; //  | 
         file = ; //  | 
         docType = ; //  | 
         isPartner = ; //  | 
         affiliationName = ; //  | 
         name = ; //  | 
        try {
            apiInstance.upload(projectId, file, docType, isPartner, affiliationName, name);
        } catch (ApiException e) {
            System.err.println("Exception when calling DocumentManagementApi#upload");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *projectId = ; //  (optional)
 *file = ; //  (optional)
 *docType = ; //  (optional)
 *isPartner = ; //  (optional)
 *affiliationName = ; //  (optional)
 *name = ; //  (optional)

DocumentManagementApi *apiInstance = [[DocumentManagementApi alloc] init];

// 문서 업로드
[apiInstance uploadWith:projectId
    file:file
    docType:docType
    isPartner:isPartner
    affiliationName:affiliationName
    name:name
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.DocumentManagementApi()
var opts = { 
  'projectId':  // {{}} 
  'file':  // {{}} 
  'docType':  // {{}} 
  'isPartner':  // {{}} 
  'affiliationName':  // {{}} 
  'name':  // {{}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.upload(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class uploadExample
    {
        public void main()
        {


            var apiInstance = new DocumentManagementApi();
            var projectId = new (); //  |  (optional) 
            var file = new (); //  |  (optional) 
            var docType = new (); //  |  (optional) 
            var isPartner = new (); //  |  (optional) 
            var affiliationName = new (); //  |  (optional) 
            var name = new (); //  |  (optional) 

            try
            {
                // 문서 업로드
                apiInstance.upload(projectId, file, docType, isPartner, affiliationName, name);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DocumentManagementApi.upload: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiDocumentManagementApi();
$projectId = ; //  | 
$file = ; //  | 
$docType = ; //  | 
$isPartner = ; //  | 
$affiliationName = ; //  | 
$name = ; //  | 

try {
    $api_instance->upload($projectId, $file, $docType, $isPartner, $affiliationName, $name);
} catch (Exception $e) {
    echo 'Exception when calling DocumentManagementApi->upload: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DocumentManagementApi;


my $api_instance = WWW::SwaggerClient::DocumentManagementApi->new();
my $projectId = ; #  | 
my $file = ; #  | 
my $docType = ; #  | 
my $isPartner = ; #  | 
my $affiliationName = ; #  | 
my $name = ; #  | 

eval { 
    $api_instance->upload(projectId => $projectId, file => $file, docType => $docType, isPartner => $isPartner, affiliationName => $affiliationName, name => $name);
};
if ($@) {
    warn "Exception when calling DocumentManagementApi->upload: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.DocumentManagementApi()
projectId =  #  |  (optional)
file =  #  |  (optional)
docType =  #  |  (optional)
isPartner =  #  |  (optional)
affiliationName =  #  |  (optional)
name =  #  |  (optional)

try: 
    # 문서 업로드
    api_instance.upload(projectId=projectId, file=file, docType=docType, isPartner=isPartner, affiliationName=affiliationName, name=name)
except ApiException as e:
    print("Exception when calling DocumentManagementApi->upload: %s\n" % e)

Parameters

Form parameters
Name Description
projectId
(int64)
file
(binary)
docType
isPartner
affiliationName
name

Responses

Status: 200 - 업로드 성공

Status: 400 - 잘못된 요청

Status: 500 - 서버 오류


ESGDashboard

createOrUpdateSnapshot

ESG 스냅샷 저장

프로젝트 기준 ESG 일별 스냅샷을 생성하거나 갱신합니다.


/esg/snapshots

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"http://192.100.200.111:8080/esg/snapshots"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ESGDashboardApi;

import java.io.File;
import java.util.*;

public class ESGDashboardApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        ESGDashboardApi apiInstance = new ESGDashboardApi();
        SaveSnapshotRequestDto body = ; // SaveSnapshotRequestDto | 
        try {
            SnapshotResponseDto result = apiInstance.createOrUpdateSnapshot(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ESGDashboardApi#createOrUpdateSnapshot");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ESGDashboardApi;

public class ESGDashboardApiExample {

    public static void main(String[] args) {
        ESGDashboardApi apiInstance = new ESGDashboardApi();
        SaveSnapshotRequestDto body = ; // SaveSnapshotRequestDto | 
        try {
            SnapshotResponseDto result = apiInstance.createOrUpdateSnapshot(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ESGDashboardApi#createOrUpdateSnapshot");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
SaveSnapshotRequestDto *body = ; // 

ESGDashboardApi *apiInstance = [[ESGDashboardApi alloc] init];

// ESG 스냅샷 저장
[apiInstance createOrUpdateSnapshotWith:body
              completionHandler: ^(SnapshotResponseDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.ESGDashboardApi()
var body = ; // {{SaveSnapshotRequestDto}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createOrUpdateSnapshot(body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class createOrUpdateSnapshotExample
    {
        public void main()
        {


            var apiInstance = new ESGDashboardApi();
            var body = new SaveSnapshotRequestDto(); // SaveSnapshotRequestDto | 

            try
            {
                // ESG 스냅샷 저장
                SnapshotResponseDto result = apiInstance.createOrUpdateSnapshot(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ESGDashboardApi.createOrUpdateSnapshot: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiESGDashboardApi();
$body = ; // SaveSnapshotRequestDto | 

try {
    $result = $api_instance->createOrUpdateSnapshot($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ESGDashboardApi->createOrUpdateSnapshot: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ESGDashboardApi;


my $api_instance = WWW::SwaggerClient::ESGDashboardApi->new();
my $body = WWW::SwaggerClient::Object::SaveSnapshotRequestDto->new(); # SaveSnapshotRequestDto | 

eval { 
    my $result = $api_instance->createOrUpdateSnapshot(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ESGDashboardApi->createOrUpdateSnapshot: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.ESGDashboardApi()
body =  # SaveSnapshotRequestDto | 

try: 
    # ESG 스냅샷 저장
    api_response = api_instance.create_or_update_snapshot(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ESGDashboardApi->createOrUpdateSnapshot: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - 저장 성공

Status: 400 - 잘못된 요청

Status: 500 - 서버 오류


readDashboard1

ESG 대시보드 조회

기준일/프로젝트 기준 ESG 대시보드를 조회합니다.


/esg/dashboard

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/esg/dashboard?reportDate=&projectId="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ESGDashboardApi;

import java.io.File;
import java.util.*;

public class ESGDashboardApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        ESGDashboardApi apiInstance = new ESGDashboardApi();
         reportDate = ; //  | 기준 보고일
         projectId = ; //  | 프로젝트 ID
        try {
            DashboardResponseDto result = apiInstance.readDashboard1(reportDate, projectId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ESGDashboardApi#readDashboard1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ESGDashboardApi;

public class ESGDashboardApiExample {

    public static void main(String[] args) {
        ESGDashboardApi apiInstance = new ESGDashboardApi();
         reportDate = ; //  | 기준 보고일
         projectId = ; //  | 프로젝트 ID
        try {
            DashboardResponseDto result = apiInstance.readDashboard1(reportDate, projectId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ESGDashboardApi#readDashboard1");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *reportDate = ; // 기준 보고일 (optional)
 *projectId = ; // 프로젝트 ID (optional)

ESGDashboardApi *apiInstance = [[ESGDashboardApi alloc] init];

// ESG 대시보드 조회
[apiInstance readDashboard1With:reportDate
    projectId:projectId
              completionHandler: ^(DashboardResponseDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.ESGDashboardApi()
var opts = { 
  'reportDate': , // {{}} 기준 보고일
  'projectId':  // {{}} 프로젝트 ID
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.readDashboard1(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class readDashboard1Example
    {
        public void main()
        {


            var apiInstance = new ESGDashboardApi();
            var reportDate = new (); //  | 기준 보고일 (optional) 
            var projectId = new (); //  | 프로젝트 ID (optional) 

            try
            {
                // ESG 대시보드 조회
                DashboardResponseDto result = apiInstance.readDashboard1(reportDate, projectId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ESGDashboardApi.readDashboard1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiESGDashboardApi();
$reportDate = ; //  | 기준 보고일
$projectId = ; //  | 프로젝트 ID

try {
    $result = $api_instance->readDashboard1($reportDate, $projectId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ESGDashboardApi->readDashboard1: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ESGDashboardApi;


my $api_instance = WWW::SwaggerClient::ESGDashboardApi->new();
my $reportDate = ; #  | 기준 보고일
my $projectId = ; #  | 프로젝트 ID

eval { 
    my $result = $api_instance->readDashboard1(reportDate => $reportDate, projectId => $projectId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ESGDashboardApi->readDashboard1: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.ESGDashboardApi()
reportDate =  #  | 기준 보고일 (optional)
projectId =  #  | 프로젝트 ID (optional)

try: 
    # ESG 대시보드 조회
    api_response = api_instance.read_dashboard1(reportDate=reportDate, projectId=projectId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ESGDashboardApi->readDashboard1: %s\n" % e)

Parameters

Query parameters
Name Description
reportDate
(date)
기준 보고일
projectId
(int64)
프로젝트 ID

Responses

Status: 200 - 조회 성공

Status: 500 - 서버 오류


GateController

addMachine


/gate/{gateId}/machine

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/gate/{gateId}/machine"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.GateControllerApi;

import java.io.File;
import java.util.*;

public class GateControllerApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        GateControllerApi apiInstance = new GateControllerApi();
         gateId = ; //  | 
        try {
            apiInstance.addMachine(gateId);
        } catch (ApiException e) {
            System.err.println("Exception when calling GateControllerApi#addMachine");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.GateControllerApi;

public class GateControllerApiExample {

    public static void main(String[] args) {
        GateControllerApi apiInstance = new GateControllerApi();
         gateId = ; //  | 
        try {
            apiInstance.addMachine(gateId);
        } catch (ApiException e) {
            System.err.println("Exception when calling GateControllerApi#addMachine");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *gateId = ; // 

GateControllerApi *apiInstance = [[GateControllerApi alloc] init];

[apiInstance addMachineWith:gateId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.GateControllerApi()
var gateId = ; // {{}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.addMachine(gateId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class addMachineExample
    {
        public void main()
        {


            var apiInstance = new GateControllerApi();
            var gateId = new (); //  | 

            try
            {
                apiInstance.addMachine(gateId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling GateControllerApi.addMachine: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiGateControllerApi();
$gateId = ; //  | 

try {
    $api_instance->addMachine($gateId);
} catch (Exception $e) {
    echo 'Exception when calling GateControllerApi->addMachine: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::GateControllerApi;


my $api_instance = WWW::SwaggerClient::GateControllerApi->new();
my $gateId = ; #  | 

eval { 
    $api_instance->addMachine(gateId => $gateId);
};
if ($@) {
    warn "Exception when calling GateControllerApi->addMachine: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.GateControllerApi()
gateId =  #  | 

try: 
    api_instance.add_machine(gateId)
except ApiException as e:
    print("Exception when calling GateControllerApi->addMachine: %s\n" % e)

Parameters

Path parameters
Name Description
gateId*
(int64)
Required

Responses

Status: 200 - OK


create5


/gate

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"http://192.100.200.111:8080/gate"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.GateControllerApi;

import java.io.File;
import java.util.*;

public class GateControllerApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        GateControllerApi apiInstance = new GateControllerApi();
        CreateReq body = ; // CreateReq | 
        try {
            apiInstance.create5(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling GateControllerApi#create5");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.GateControllerApi;

public class GateControllerApiExample {

    public static void main(String[] args) {
        GateControllerApi apiInstance = new GateControllerApi();
        CreateReq body = ; // CreateReq | 
        try {
            apiInstance.create5(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling GateControllerApi#create5");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
CreateReq *body = ; // 

GateControllerApi *apiInstance = [[GateControllerApi alloc] init];

[apiInstance create5With:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.GateControllerApi()
var body = ; // {{CreateReq}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.create5(body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class create5Example
    {
        public void main()
        {


            var apiInstance = new GateControllerApi();
            var body = new CreateReq(); // CreateReq | 

            try
            {
                apiInstance.create5(body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling GateControllerApi.create5: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiGateControllerApi();
$body = ; // CreateReq | 

try {
    $api_instance->create5($body);
} catch (Exception $e) {
    echo 'Exception when calling GateControllerApi->create5: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::GateControllerApi;


my $api_instance = WWW::SwaggerClient::GateControllerApi->new();
my $body = WWW::SwaggerClient::Object::CreateReq->new(); # CreateReq | 

eval { 
    $api_instance->create5(body => $body);
};
if ($@) {
    warn "Exception when calling GateControllerApi->create5: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.GateControllerApi()
body =  # CreateReq | 

try: 
    api_instance.create5(body)
except ApiException as e:
    print("Exception when calling GateControllerApi->create5: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK


delete3


/gate/{gateId}

Usage and SDK Samples

curl -X DELETE\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/gate/{gateId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.GateControllerApi;

import java.io.File;
import java.util.*;

public class GateControllerApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        GateControllerApi apiInstance = new GateControllerApi();
         gateId = ; //  | 
        try {
            apiInstance.delete3(gateId);
        } catch (ApiException e) {
            System.err.println("Exception when calling GateControllerApi#delete3");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.GateControllerApi;

public class GateControllerApiExample {

    public static void main(String[] args) {
        GateControllerApi apiInstance = new GateControllerApi();
         gateId = ; //  | 
        try {
            apiInstance.delete3(gateId);
        } catch (ApiException e) {
            System.err.println("Exception when calling GateControllerApi#delete3");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *gateId = ; // 

GateControllerApi *apiInstance = [[GateControllerApi alloc] init];

[apiInstance delete3With:gateId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.GateControllerApi()
var gateId = ; // {{}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.delete3(gateId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class delete3Example
    {
        public void main()
        {


            var apiInstance = new GateControllerApi();
            var gateId = new (); //  | 

            try
            {
                apiInstance.delete3(gateId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling GateControllerApi.delete3: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiGateControllerApi();
$gateId = ; //  | 

try {
    $api_instance->delete3($gateId);
} catch (Exception $e) {
    echo 'Exception when calling GateControllerApi->delete3: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::GateControllerApi;


my $api_instance = WWW::SwaggerClient::GateControllerApi->new();
my $gateId = ; #  | 

eval { 
    $api_instance->delete3(gateId => $gateId);
};
if ($@) {
    warn "Exception when calling GateControllerApi->delete3: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.GateControllerApi()
gateId =  #  | 

try: 
    api_instance.delete3(gateId)
except ApiException as e:
    print("Exception when calling GateControllerApi->delete3: %s\n" % e)

Parameters

Path parameters
Name Description
gateId*
(int64)
Required

Responses

Status: 200 - OK


list5


/gate

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/gate"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.GateControllerApi;

import java.io.File;
import java.util.*;

public class GateControllerApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        GateControllerApi apiInstance = new GateControllerApi();
        try {
            apiInstance.list5();
        } catch (ApiException e) {
            System.err.println("Exception when calling GateControllerApi#list5");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.GateControllerApi;

public class GateControllerApiExample {

    public static void main(String[] args) {
        GateControllerApi apiInstance = new GateControllerApi();
        try {
            apiInstance.list5();
        } catch (ApiException e) {
            System.err.println("Exception when calling GateControllerApi#list5");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

GateControllerApi *apiInstance = [[GateControllerApi alloc] init];

[apiInstance list5WithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.GateControllerApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.list5(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class list5Example
    {
        public void main()
        {


            var apiInstance = new GateControllerApi();

            try
            {
                apiInstance.list5();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling GateControllerApi.list5: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiGateControllerApi();

try {
    $api_instance->list5();
} catch (Exception $e) {
    echo 'Exception when calling GateControllerApi->list5: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::GateControllerApi;


my $api_instance = WWW::SwaggerClient::GateControllerApi->new();

eval { 
    $api_instance->list5();
};
if ($@) {
    warn "Exception when calling GateControllerApi->list5: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.GateControllerApi()

try: 
    api_instance.list5()
except ApiException as e:
    print("Exception when calling GateControllerApi->list5: %s\n" % e)

Parameters

Responses

Status: 200 - OK


read3


/gate/{gateId}

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/gate/{gateId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.GateControllerApi;

import java.io.File;
import java.util.*;

public class GateControllerApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        GateControllerApi apiInstance = new GateControllerApi();
         gateId = ; //  | 
        try {
            apiInstance.read3(gateId);
        } catch (ApiException e) {
            System.err.println("Exception when calling GateControllerApi#read3");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.GateControllerApi;

public class GateControllerApiExample {

    public static void main(String[] args) {
        GateControllerApi apiInstance = new GateControllerApi();
         gateId = ; //  | 
        try {
            apiInstance.read3(gateId);
        } catch (ApiException e) {
            System.err.println("Exception when calling GateControllerApi#read3");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *gateId = ; // 

GateControllerApi *apiInstance = [[GateControllerApi alloc] init];

[apiInstance read3With:gateId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.GateControllerApi()
var gateId = ; // {{}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.read3(gateId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class read3Example
    {
        public void main()
        {


            var apiInstance = new GateControllerApi();
            var gateId = new (); //  | 

            try
            {
                apiInstance.read3(gateId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling GateControllerApi.read3: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiGateControllerApi();
$gateId = ; //  | 

try {
    $api_instance->read3($gateId);
} catch (Exception $e) {
    echo 'Exception when calling GateControllerApi->read3: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::GateControllerApi;


my $api_instance = WWW::SwaggerClient::GateControllerApi->new();
my $gateId = ; #  | 

eval { 
    $api_instance->read3(gateId => $gateId);
};
if ($@) {
    warn "Exception when calling GateControllerApi->read3: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.GateControllerApi()
gateId =  #  | 

try: 
    api_instance.read3(gateId)
except ApiException as e:
    print("Exception when calling GateControllerApi->read3: %s\n" % e)

Parameters

Path parameters
Name Description
gateId*
(int64)
Required

Responses

Status: 200 - OK


readBlueprint


/gate/blueprint

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/gate/blueprint?projectId="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.GateControllerApi;

import java.io.File;
import java.util.*;

public class GateControllerApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        GateControllerApi apiInstance = new GateControllerApi();
         projectId = ; //  | 
        try {
            apiInstance.readBlueprint(projectId);
        } catch (ApiException e) {
            System.err.println("Exception when calling GateControllerApi#readBlueprint");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.GateControllerApi;

public class GateControllerApiExample {

    public static void main(String[] args) {
        GateControllerApi apiInstance = new GateControllerApi();
         projectId = ; //  | 
        try {
            apiInstance.readBlueprint(projectId);
        } catch (ApiException e) {
            System.err.println("Exception when calling GateControllerApi#readBlueprint");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *projectId = ; // 

GateControllerApi *apiInstance = [[GateControllerApi alloc] init];

[apiInstance readBlueprintWith:projectId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.GateControllerApi()
var projectId = ; // {{}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.readBlueprint(projectId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class readBlueprintExample
    {
        public void main()
        {


            var apiInstance = new GateControllerApi();
            var projectId = new (); //  | 

            try
            {
                apiInstance.readBlueprint(projectId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling GateControllerApi.readBlueprint: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiGateControllerApi();
$projectId = ; //  | 

try {
    $api_instance->readBlueprint($projectId);
} catch (Exception $e) {
    echo 'Exception when calling GateControllerApi->readBlueprint: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::GateControllerApi;


my $api_instance = WWW::SwaggerClient::GateControllerApi->new();
my $projectId = ; #  | 

eval { 
    $api_instance->readBlueprint(projectId => $projectId);
};
if ($@) {
    warn "Exception when calling GateControllerApi->readBlueprint: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.GateControllerApi()
projectId =  #  | 

try: 
    api_instance.read_blueprint(projectId)
except ApiException as e:
    print("Exception when calling GateControllerApi->readBlueprint: %s\n" % e)

Parameters

Query parameters
Name Description
projectId*
(int64)
Required

Responses

Status: 200 - OK


removeMachine


/gate/{gateId}/machine/{machineId}

Usage and SDK Samples

curl -X DELETE\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/gate/{gateId}/machine/{machineId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.GateControllerApi;

import java.io.File;
import java.util.*;

public class GateControllerApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        GateControllerApi apiInstance = new GateControllerApi();
         gateId = ; //  | 
         machineId = ; //  | 
        try {
            apiInstance.removeMachine(gateId, machineId);
        } catch (ApiException e) {
            System.err.println("Exception when calling GateControllerApi#removeMachine");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.GateControllerApi;

public class GateControllerApiExample {

    public static void main(String[] args) {
        GateControllerApi apiInstance = new GateControllerApi();
         gateId = ; //  | 
         machineId = ; //  | 
        try {
            apiInstance.removeMachine(gateId, machineId);
        } catch (ApiException e) {
            System.err.println("Exception when calling GateControllerApi#removeMachine");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *gateId = ; // 
 *machineId = ; // 

GateControllerApi *apiInstance = [[GateControllerApi alloc] init];

[apiInstance removeMachineWith:gateId
    machineId:machineId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.GateControllerApi()
var gateId = ; // {{}} 
var machineId = ; // {{}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.removeMachine(gateId, machineId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class removeMachineExample
    {
        public void main()
        {


            var apiInstance = new GateControllerApi();
            var gateId = new (); //  | 
            var machineId = new (); //  | 

            try
            {
                apiInstance.removeMachine(gateId, machineId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling GateControllerApi.removeMachine: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiGateControllerApi();
$gateId = ; //  | 
$machineId = ; //  | 

try {
    $api_instance->removeMachine($gateId, $machineId);
} catch (Exception $e) {
    echo 'Exception when calling GateControllerApi->removeMachine: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::GateControllerApi;


my $api_instance = WWW::SwaggerClient::GateControllerApi->new();
my $gateId = ; #  | 
my $machineId = ; #  | 

eval { 
    $api_instance->removeMachine(gateId => $gateId, machineId => $machineId);
};
if ($@) {
    warn "Exception when calling GateControllerApi->removeMachine: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.GateControllerApi()
gateId =  #  | 
machineId =  #  | 

try: 
    api_instance.remove_machine(gateId, machineId)
except ApiException as e:
    print("Exception when calling GateControllerApi->removeMachine: %s\n" % e)

Parameters

Path parameters
Name Description
gateId*
(int64)
Required
machineId*
(int64)
Required

Responses

Status: 200 - OK


saveBlueprint


/gate/blueprint

Usage and SDK Samples

curl -X PUT\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"http://192.100.200.111:8080/gate/blueprint?projectId="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.GateControllerApi;

import java.io.File;
import java.util.*;

public class GateControllerApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        GateControllerApi apiInstance = new GateControllerApi();
        BlueprintReq body = ; // BlueprintReq | 
         projectId = ; //  | 
        try {
            apiInstance.saveBlueprint(body, projectId);
        } catch (ApiException e) {
            System.err.println("Exception when calling GateControllerApi#saveBlueprint");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.GateControllerApi;

public class GateControllerApiExample {

    public static void main(String[] args) {
        GateControllerApi apiInstance = new GateControllerApi();
        BlueprintReq body = ; // BlueprintReq | 
         projectId = ; //  | 
        try {
            apiInstance.saveBlueprint(body, projectId);
        } catch (ApiException e) {
            System.err.println("Exception when calling GateControllerApi#saveBlueprint");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
BlueprintReq *body = ; // 
 *projectId = ; // 

GateControllerApi *apiInstance = [[GateControllerApi alloc] init];

[apiInstance saveBlueprintWith:body
    projectId:projectId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.GateControllerApi()
var body = ; // {{BlueprintReq}} 
var projectId = ; // {{}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.saveBlueprint(bodyprojectId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class saveBlueprintExample
    {
        public void main()
        {


            var apiInstance = new GateControllerApi();
            var body = new BlueprintReq(); // BlueprintReq | 
            var projectId = new (); //  | 

            try
            {
                apiInstance.saveBlueprint(body, projectId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling GateControllerApi.saveBlueprint: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiGateControllerApi();
$body = ; // BlueprintReq | 
$projectId = ; //  | 

try {
    $api_instance->saveBlueprint($body, $projectId);
} catch (Exception $e) {
    echo 'Exception when calling GateControllerApi->saveBlueprint: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::GateControllerApi;


my $api_instance = WWW::SwaggerClient::GateControllerApi->new();
my $body = WWW::SwaggerClient::Object::BlueprintReq->new(); # BlueprintReq | 
my $projectId = ; #  | 

eval { 
    $api_instance->saveBlueprint(body => $body, projectId => $projectId);
};
if ($@) {
    warn "Exception when calling GateControllerApi->saveBlueprint: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.GateControllerApi()
body =  # BlueprintReq | 
projectId =  #  | 

try: 
    api_instance.save_blueprint(body, projectId)
except ApiException as e:
    print("Exception when calling GateControllerApi->saveBlueprint: %s\n" % e)

Parameters

Body parameters
Name Description
body *
Query parameters
Name Description
projectId*
(int64)
Required

Responses

Status: 200 - OK


toggleMachine


/gate/{gateId}/machine/{machineId}

Usage and SDK Samples

curl -X PATCH\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/gate/{gateId}/machine/{machineId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.GateControllerApi;

import java.io.File;
import java.util.*;

public class GateControllerApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        GateControllerApi apiInstance = new GateControllerApi();
         gateId = ; //  | 
         machineId = ; //  | 
        try {
            apiInstance.toggleMachine(gateId, machineId);
        } catch (ApiException e) {
            System.err.println("Exception when calling GateControllerApi#toggleMachine");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.GateControllerApi;

public class GateControllerApiExample {

    public static void main(String[] args) {
        GateControllerApi apiInstance = new GateControllerApi();
         gateId = ; //  | 
         machineId = ; //  | 
        try {
            apiInstance.toggleMachine(gateId, machineId);
        } catch (ApiException e) {
            System.err.println("Exception when calling GateControllerApi#toggleMachine");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *gateId = ; // 
 *machineId = ; // 

GateControllerApi *apiInstance = [[GateControllerApi alloc] init];

[apiInstance toggleMachineWith:gateId
    machineId:machineId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.GateControllerApi()
var gateId = ; // {{}} 
var machineId = ; // {{}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.toggleMachine(gateId, machineId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class toggleMachineExample
    {
        public void main()
        {


            var apiInstance = new GateControllerApi();
            var gateId = new (); //  | 
            var machineId = new (); //  | 

            try
            {
                apiInstance.toggleMachine(gateId, machineId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling GateControllerApi.toggleMachine: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiGateControllerApi();
$gateId = ; //  | 
$machineId = ; //  | 

try {
    $api_instance->toggleMachine($gateId, $machineId);
} catch (Exception $e) {
    echo 'Exception when calling GateControllerApi->toggleMachine: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::GateControllerApi;


my $api_instance = WWW::SwaggerClient::GateControllerApi->new();
my $gateId = ; #  | 
my $machineId = ; #  | 

eval { 
    $api_instance->toggleMachine(gateId => $gateId, machineId => $machineId);
};
if ($@) {
    warn "Exception when calling GateControllerApi->toggleMachine: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.GateControllerApi()
gateId =  #  | 
machineId =  #  | 

try: 
    api_instance.toggle_machine(gateId, machineId)
except ApiException as e:
    print("Exception when calling GateControllerApi->toggleMachine: %s\n" % e)

Parameters

Path parameters
Name Description
gateId*
(int64)
Required
machineId*
(int64)
Required

Responses

Status: 200 - OK


update3


/gate/{gateId}

Usage and SDK Samples

curl -X PUT\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"http://192.100.200.111:8080/gate/{gateId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.GateControllerApi;

import java.io.File;
import java.util.*;

public class GateControllerApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        GateControllerApi apiInstance = new GateControllerApi();
        UpdateReq body = ; // UpdateReq | 
         gateId = ; //  | 
        try {
            apiInstance.update3(body, gateId);
        } catch (ApiException e) {
            System.err.println("Exception when calling GateControllerApi#update3");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.GateControllerApi;

public class GateControllerApiExample {

    public static void main(String[] args) {
        GateControllerApi apiInstance = new GateControllerApi();
        UpdateReq body = ; // UpdateReq | 
         gateId = ; //  | 
        try {
            apiInstance.update3(body, gateId);
        } catch (ApiException e) {
            System.err.println("Exception when calling GateControllerApi#update3");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
UpdateReq *body = ; // 
 *gateId = ; // 

GateControllerApi *apiInstance = [[GateControllerApi alloc] init];

[apiInstance update3With:body
    gateId:gateId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.GateControllerApi()
var body = ; // {{UpdateReq}} 
var gateId = ; // {{}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.update3(bodygateId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class update3Example
    {
        public void main()
        {


            var apiInstance = new GateControllerApi();
            var body = new UpdateReq(); // UpdateReq | 
            var gateId = new (); //  | 

            try
            {
                apiInstance.update3(body, gateId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling GateControllerApi.update3: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiGateControllerApi();
$body = ; // UpdateReq | 
$gateId = ; //  | 

try {
    $api_instance->update3($body, $gateId);
} catch (Exception $e) {
    echo 'Exception when calling GateControllerApi->update3: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::GateControllerApi;


my $api_instance = WWW::SwaggerClient::GateControllerApi->new();
my $body = WWW::SwaggerClient::Object::UpdateReq->new(); # UpdateReq | 
my $gateId = ; #  | 

eval { 
    $api_instance->update3(body => $body, gateId => $gateId);
};
if ($@) {
    warn "Exception when calling GateControllerApi->update3: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.GateControllerApi()
body =  # UpdateReq | 
gateId =  #  | 

try: 
    api_instance.update3(body, gateId)
except ApiException as e:
    print("Exception when calling GateControllerApi->update3: %s\n" % e)

Parameters

Path parameters
Name Description
gateId*
(int64)
Required
Body parameters
Name Description
body *

Responses

Status: 200 - OK


updateManpower


/gate/{gateId}/manpower

Usage and SDK Samples

curl -X PATCH\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"http://192.100.200.111:8080/gate/{gateId}/manpower"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.GateControllerApi;

import java.io.File;
import java.util.*;

public class GateControllerApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        GateControllerApi apiInstance = new GateControllerApi();
        ManpowerReq body = ; // ManpowerReq | 
         gateId = ; //  | 
        try {
            apiInstance.updateManpower(body, gateId);
        } catch (ApiException e) {
            System.err.println("Exception when calling GateControllerApi#updateManpower");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.GateControllerApi;

public class GateControllerApiExample {

    public static void main(String[] args) {
        GateControllerApi apiInstance = new GateControllerApi();
        ManpowerReq body = ; // ManpowerReq | 
         gateId = ; //  | 
        try {
            apiInstance.updateManpower(body, gateId);
        } catch (ApiException e) {
            System.err.println("Exception when calling GateControllerApi#updateManpower");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
ManpowerReq *body = ; // 
 *gateId = ; // 

GateControllerApi *apiInstance = [[GateControllerApi alloc] init];

[apiInstance updateManpowerWith:body
    gateId:gateId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.GateControllerApi()
var body = ; // {{ManpowerReq}} 
var gateId = ; // {{}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.updateManpower(bodygateId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class updateManpowerExample
    {
        public void main()
        {


            var apiInstance = new GateControllerApi();
            var body = new ManpowerReq(); // ManpowerReq | 
            var gateId = new (); //  | 

            try
            {
                apiInstance.updateManpower(body, gateId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling GateControllerApi.updateManpower: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiGateControllerApi();
$body = ; // ManpowerReq | 
$gateId = ; //  | 

try {
    $api_instance->updateManpower($body, $gateId);
} catch (Exception $e) {
    echo 'Exception when calling GateControllerApi->updateManpower: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::GateControllerApi;


my $api_instance = WWW::SwaggerClient::GateControllerApi->new();
my $body = WWW::SwaggerClient::Object::ManpowerReq->new(); # ManpowerReq | 
my $gateId = ; #  | 

eval { 
    $api_instance->updateManpower(body => $body, gateId => $gateId);
};
if ($@) {
    warn "Exception when calling GateControllerApi->updateManpower: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.GateControllerApi()
body =  # ManpowerReq | 
gateId =  #  | 

try: 
    api_instance.update_manpower(body, gateId)
except ApiException as e:
    print("Exception when calling GateControllerApi->updateManpower: %s\n" % e)

Parameters

Path parameters
Name Description
gateId*
(int64)
Required
Body parameters
Name Description
body *

Responses

Status: 200 - OK


updatePosition


/gate/{gateId}/position

Usage and SDK Samples

curl -X PATCH\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"http://192.100.200.111:8080/gate/{gateId}/position"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.GateControllerApi;

import java.io.File;
import java.util.*;

public class GateControllerApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        GateControllerApi apiInstance = new GateControllerApi();
        PositionReq body = ; // PositionReq | 
         gateId = ; //  | 
        try {
            apiInstance.updatePosition(body, gateId);
        } catch (ApiException e) {
            System.err.println("Exception when calling GateControllerApi#updatePosition");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.GateControllerApi;

public class GateControllerApiExample {

    public static void main(String[] args) {
        GateControllerApi apiInstance = new GateControllerApi();
        PositionReq body = ; // PositionReq | 
         gateId = ; //  | 
        try {
            apiInstance.updatePosition(body, gateId);
        } catch (ApiException e) {
            System.err.println("Exception when calling GateControllerApi#updatePosition");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
PositionReq *body = ; // 
 *gateId = ; // 

GateControllerApi *apiInstance = [[GateControllerApi alloc] init];

[apiInstance updatePositionWith:body
    gateId:gateId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.GateControllerApi()
var body = ; // {{PositionReq}} 
var gateId = ; // {{}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.updatePosition(bodygateId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class updatePositionExample
    {
        public void main()
        {


            var apiInstance = new GateControllerApi();
            var body = new PositionReq(); // PositionReq | 
            var gateId = new (); //  | 

            try
            {
                apiInstance.updatePosition(body, gateId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling GateControllerApi.updatePosition: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiGateControllerApi();
$body = ; // PositionReq | 
$gateId = ; //  | 

try {
    $api_instance->updatePosition($body, $gateId);
} catch (Exception $e) {
    echo 'Exception when calling GateControllerApi->updatePosition: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::GateControllerApi;


my $api_instance = WWW::SwaggerClient::GateControllerApi->new();
my $body = WWW::SwaggerClient::Object::PositionReq->new(); # PositionReq | 
my $gateId = ; #  | 

eval { 
    $api_instance->updatePosition(body => $body, gateId => $gateId);
};
if ($@) {
    warn "Exception when calling GateControllerApi->updatePosition: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.GateControllerApi()
body =  # PositionReq | 
gateId =  #  | 

try: 
    api_instance.update_position(body, gateId)
except ApiException as e:
    print("Exception when calling GateControllerApi->updatePosition: %s\n" % e)

Parameters

Path parameters
Name Description
gateId*
(int64)
Required
Body parameters
Name Description
body *

Responses

Status: 200 - OK


updateVehicles


/gate/{gateId}/vehicles

Usage and SDK Samples

curl -X PATCH\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"http://192.100.200.111:8080/gate/{gateId}/vehicles"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.GateControllerApi;

import java.io.File;
import java.util.*;

public class GateControllerApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        GateControllerApi apiInstance = new GateControllerApi();
        VehiclesReq body = ; // VehiclesReq | 
         gateId = ; //  | 
        try {
            apiInstance.updateVehicles(body, gateId);
        } catch (ApiException e) {
            System.err.println("Exception when calling GateControllerApi#updateVehicles");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.GateControllerApi;

public class GateControllerApiExample {

    public static void main(String[] args) {
        GateControllerApi apiInstance = new GateControllerApi();
        VehiclesReq body = ; // VehiclesReq | 
         gateId = ; //  | 
        try {
            apiInstance.updateVehicles(body, gateId);
        } catch (ApiException e) {
            System.err.println("Exception when calling GateControllerApi#updateVehicles");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
VehiclesReq *body = ; // 
 *gateId = ; // 

GateControllerApi *apiInstance = [[GateControllerApi alloc] init];

[apiInstance updateVehiclesWith:body
    gateId:gateId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.GateControllerApi()
var body = ; // {{VehiclesReq}} 
var gateId = ; // {{}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.updateVehicles(bodygateId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class updateVehiclesExample
    {
        public void main()
        {


            var apiInstance = new GateControllerApi();
            var body = new VehiclesReq(); // VehiclesReq | 
            var gateId = new (); //  | 

            try
            {
                apiInstance.updateVehicles(body, gateId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling GateControllerApi.updateVehicles: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiGateControllerApi();
$body = ; // VehiclesReq | 
$gateId = ; //  | 

try {
    $api_instance->updateVehicles($body, $gateId);
} catch (Exception $e) {
    echo 'Exception when calling GateControllerApi->updateVehicles: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::GateControllerApi;


my $api_instance = WWW::SwaggerClient::GateControllerApi->new();
my $body = WWW::SwaggerClient::Object::VehiclesReq->new(); # VehiclesReq | 
my $gateId = ; #  | 

eval { 
    $api_instance->updateVehicles(body => $body, gateId => $gateId);
};
if ($@) {
    warn "Exception when calling GateControllerApi->updateVehicles: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.GateControllerApi()
body =  # VehiclesReq | 
gateId =  #  | 

try: 
    api_instance.update_vehicles(body, gateId)
except ApiException as e:
    print("Exception when calling GateControllerApi->updateVehicles: %s\n" % e)

Parameters

Path parameters
Name Description
gateId*
(int64)
Required
Body parameters
Name Description
body *

Responses

Status: 200 - OK


MasterSchedule

create4

공정표 등록

공정표 메타데이터를 등록합니다.


/master-schedule

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"http://192.100.200.111:8080/master-schedule"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MasterScheduleApi;

import java.io.File;
import java.util.*;

public class MasterScheduleApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        MasterScheduleApi apiInstance = new MasterScheduleApi();
        Req body = ; // Req | 
        try {
            apiInstance.create4(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling MasterScheduleApi#create4");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MasterScheduleApi;

public class MasterScheduleApiExample {

    public static void main(String[] args) {
        MasterScheduleApi apiInstance = new MasterScheduleApi();
        Req body = ; // Req | 
        try {
            apiInstance.create4(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling MasterScheduleApi#create4");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
Req *body = ; // 

MasterScheduleApi *apiInstance = [[MasterScheduleApi alloc] init];

// 공정표 등록
[apiInstance create4With:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.MasterScheduleApi()
var body = ; // {{Req}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.create4(body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class create4Example
    {
        public void main()
        {


            var apiInstance = new MasterScheduleApi();
            var body = new Req(); // Req | 

            try
            {
                // 공정표 등록
                apiInstance.create4(body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MasterScheduleApi.create4: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiMasterScheduleApi();
$body = ; // Req | 

try {
    $api_instance->create4($body);
} catch (Exception $e) {
    echo 'Exception when calling MasterScheduleApi->create4: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::MasterScheduleApi;


my $api_instance = WWW::SwaggerClient::MasterScheduleApi->new();
my $body = WWW::SwaggerClient::Object::Req->new(); # Req | 

eval { 
    $api_instance->create4(body => $body);
};
if ($@) {
    warn "Exception when calling MasterScheduleApi->create4: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.MasterScheduleApi()
body =  # Req | 

try: 
    # 공정표 등록
    api_instance.create4(body)
except ApiException as e:
    print("Exception when calling MasterScheduleApi->create4: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - 등록 성공

Status: 400 - 잘못된 요청

Status: 500 - 서버 오류


delete5

공정표 삭제

공정표를 삭제합니다.


/master-schedule/{scheduleId}

Usage and SDK Samples

curl -X DELETE\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/master-schedule/{scheduleId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MasterScheduleApi;

import java.io.File;
import java.util.*;

public class MasterScheduleApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        MasterScheduleApi apiInstance = new MasterScheduleApi();
         scheduleId = ; //  | 
        try {
            apiInstance.delete5(scheduleId);
        } catch (ApiException e) {
            System.err.println("Exception when calling MasterScheduleApi#delete5");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MasterScheduleApi;

public class MasterScheduleApiExample {

    public static void main(String[] args) {
        MasterScheduleApi apiInstance = new MasterScheduleApi();
         scheduleId = ; //  | 
        try {
            apiInstance.delete5(scheduleId);
        } catch (ApiException e) {
            System.err.println("Exception when calling MasterScheduleApi#delete5");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *scheduleId = ; // 

MasterScheduleApi *apiInstance = [[MasterScheduleApi alloc] init];

// 공정표 삭제
[apiInstance delete5With:scheduleId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.MasterScheduleApi()
var scheduleId = ; // {{}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.delete5(scheduleId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class delete5Example
    {
        public void main()
        {


            var apiInstance = new MasterScheduleApi();
            var scheduleId = new (); //  | 

            try
            {
                // 공정표 삭제
                apiInstance.delete5(scheduleId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MasterScheduleApi.delete5: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiMasterScheduleApi();
$scheduleId = ; //  | 

try {
    $api_instance->delete5($scheduleId);
} catch (Exception $e) {
    echo 'Exception when calling MasterScheduleApi->delete5: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::MasterScheduleApi;


my $api_instance = WWW::SwaggerClient::MasterScheduleApi->new();
my $scheduleId = ; #  | 

eval { 
    $api_instance->delete5(scheduleId => $scheduleId);
};
if ($@) {
    warn "Exception when calling MasterScheduleApi->delete5: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.MasterScheduleApi()
scheduleId =  #  | 

try: 
    # 공정표 삭제
    api_instance.delete5(scheduleId)
except ApiException as e:
    print("Exception when calling MasterScheduleApi->delete5: %s\n" % e)

Parameters

Path parameters
Name Description
scheduleId*
(int64)
Required

Responses

Status: 200 - 삭제 성공

Status: 404 - 대상을 찾을 수 없음

Status: 500 - 서버 오류


list4

공정표 목록 조회

현장별 공정표 목록을 조회합니다.


/master-schedule

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/master-schedule?projectId=&docType="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MasterScheduleApi;

import java.io.File;
import java.util.*;

public class MasterScheduleApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        MasterScheduleApi apiInstance = new MasterScheduleApi();
         projectId = ; //  | 프로젝트 ID
         docType = ; //  | 문서 타입
        try {
            apiInstance.list4(projectId, docType);
        } catch (ApiException e) {
            System.err.println("Exception when calling MasterScheduleApi#list4");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MasterScheduleApi;

public class MasterScheduleApiExample {

    public static void main(String[] args) {
        MasterScheduleApi apiInstance = new MasterScheduleApi();
         projectId = ; //  | 프로젝트 ID
         docType = ; //  | 문서 타입
        try {
            apiInstance.list4(projectId, docType);
        } catch (ApiException e) {
            System.err.println("Exception when calling MasterScheduleApi#list4");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *projectId = ; // 프로젝트 ID
 *docType = ; // 문서 타입 (optional)

MasterScheduleApi *apiInstance = [[MasterScheduleApi alloc] init];

// 공정표 목록 조회
[apiInstance list4With:projectId
    docType:docType
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.MasterScheduleApi()
var projectId = ; // {{}} 프로젝트 ID
var opts = { 
  'docType':  // {{}} 문서 타입
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.list4(projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class list4Example
    {
        public void main()
        {


            var apiInstance = new MasterScheduleApi();
            var projectId = new (); //  | 프로젝트 ID
            var docType = new (); //  | 문서 타입 (optional) 

            try
            {
                // 공정표 목록 조회
                apiInstance.list4(projectId, docType);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MasterScheduleApi.list4: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiMasterScheduleApi();
$projectId = ; //  | 프로젝트 ID
$docType = ; //  | 문서 타입

try {
    $api_instance->list4($projectId, $docType);
} catch (Exception $e) {
    echo 'Exception when calling MasterScheduleApi->list4: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::MasterScheduleApi;


my $api_instance = WWW::SwaggerClient::MasterScheduleApi->new();
my $projectId = ; #  | 프로젝트 ID
my $docType = ; #  | 문서 타입

eval { 
    $api_instance->list4(projectId => $projectId, docType => $docType);
};
if ($@) {
    warn "Exception when calling MasterScheduleApi->list4: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.MasterScheduleApi()
projectId =  #  | 프로젝트 ID
docType =  #  | 문서 타입 (optional)

try: 
    # 공정표 목록 조회
    api_instance.list4(projectId, docType=docType)
except ApiException as e:
    print("Exception when calling MasterScheduleApi->list4: %s\n" % e)

Parameters

Query parameters
Name Description
projectId*
(int64)
프로젝트 ID
Required
docType
문서 타입

Responses

Status: 200 - 조회 성공

Status: 500 - 서버 오류


read4

공정표 단건 조회

공정표 ID로 단건 정보를 조회합니다.


/master-schedule/{scheduleId}

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/master-schedule/{scheduleId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MasterScheduleApi;

import java.io.File;
import java.util.*;

public class MasterScheduleApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        MasterScheduleApi apiInstance = new MasterScheduleApi();
         scheduleId = ; //  | 
        try {
            Res result = apiInstance.read4(scheduleId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MasterScheduleApi#read4");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MasterScheduleApi;

public class MasterScheduleApiExample {

    public static void main(String[] args) {
        MasterScheduleApi apiInstance = new MasterScheduleApi();
         scheduleId = ; //  | 
        try {
            Res result = apiInstance.read4(scheduleId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MasterScheduleApi#read4");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *scheduleId = ; // 

MasterScheduleApi *apiInstance = [[MasterScheduleApi alloc] init];

// 공정표 단건 조회
[apiInstance read4With:scheduleId
              completionHandler: ^(Res output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.MasterScheduleApi()
var scheduleId = ; // {{}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.read4(scheduleId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class read4Example
    {
        public void main()
        {


            var apiInstance = new MasterScheduleApi();
            var scheduleId = new (); //  | 

            try
            {
                // 공정표 단건 조회
                Res result = apiInstance.read4(scheduleId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MasterScheduleApi.read4: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiMasterScheduleApi();
$scheduleId = ; //  | 

try {
    $result = $api_instance->read4($scheduleId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling MasterScheduleApi->read4: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::MasterScheduleApi;


my $api_instance = WWW::SwaggerClient::MasterScheduleApi->new();
my $scheduleId = ; #  | 

eval { 
    my $result = $api_instance->read4(scheduleId => $scheduleId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MasterScheduleApi->read4: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.MasterScheduleApi()
scheduleId =  #  | 

try: 
    # 공정표 단건 조회
    api_response = api_instance.read4(scheduleId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MasterScheduleApi->read4: %s\n" % e)

Parameters

Path parameters
Name Description
scheduleId*
(int64)
Required

Responses

Status: 200 - 조회 성공

Status: 404 - 대상을 찾을 수 없음

Status: 500 - 서버 오류


uploadAndExtract1

공정표 업로드 및 추출

공정표 파일을 업로드하고 공정 데이터를 추출합니다.


/master-schedule/upload

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"http://192.100.200.111:8080/master-schedule/upload?projectId=&docType="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MasterScheduleApi;

import java.io.File;
import java.util.*;

public class MasterScheduleApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        MasterScheduleApi apiInstance = new MasterScheduleApi();
         projectId = ; //  | 프로젝트 ID
         docType = ; //  | 문서 타입
        Masterschedule_upload_body body = ; // Masterschedule_upload_body | 
        try {
            apiInstance.uploadAndExtract1(projectId, docType, body);
        } catch (ApiException e) {
            System.err.println("Exception when calling MasterScheduleApi#uploadAndExtract1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MasterScheduleApi;

public class MasterScheduleApiExample {

    public static void main(String[] args) {
        MasterScheduleApi apiInstance = new MasterScheduleApi();
         projectId = ; //  | 프로젝트 ID
         docType = ; //  | 문서 타입
        Masterschedule_upload_body body = ; // Masterschedule_upload_body | 
        try {
            apiInstance.uploadAndExtract1(projectId, docType, body);
        } catch (ApiException e) {
            System.err.println("Exception when calling MasterScheduleApi#uploadAndExtract1");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *projectId = ; // 프로젝트 ID
 *docType = ; // 문서 타입
Masterschedule_upload_body *body = ; //  (optional)

MasterScheduleApi *apiInstance = [[MasterScheduleApi alloc] init];

// 공정표 업로드 및 추출
[apiInstance uploadAndExtract1With:projectId
    docType:docType
    body:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.MasterScheduleApi()
var projectId = ; // {{}} 프로젝트 ID
var docType = ; // {{}} 문서 타입
var opts = { 
  'body':  // {{Masterschedule_upload_body}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.uploadAndExtract1(projectIddocType, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class uploadAndExtract1Example
    {
        public void main()
        {


            var apiInstance = new MasterScheduleApi();
            var projectId = new (); //  | 프로젝트 ID
            var docType = new (); //  | 문서 타입
            var body = new Masterschedule_upload_body(); // Masterschedule_upload_body |  (optional) 

            try
            {
                // 공정표 업로드 및 추출
                apiInstance.uploadAndExtract1(projectId, docType, body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MasterScheduleApi.uploadAndExtract1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiMasterScheduleApi();
$projectId = ; //  | 프로젝트 ID
$docType = ; //  | 문서 타입
$body = ; // Masterschedule_upload_body | 

try {
    $api_instance->uploadAndExtract1($projectId, $docType, $body);
} catch (Exception $e) {
    echo 'Exception when calling MasterScheduleApi->uploadAndExtract1: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::MasterScheduleApi;


my $api_instance = WWW::SwaggerClient::MasterScheduleApi->new();
my $projectId = ; #  | 프로젝트 ID
my $docType = ; #  | 문서 타입
my $body = WWW::SwaggerClient::Object::Masterschedule_upload_body->new(); # Masterschedule_upload_body | 

eval { 
    $api_instance->uploadAndExtract1(projectId => $projectId, docType => $docType, body => $body);
};
if ($@) {
    warn "Exception when calling MasterScheduleApi->uploadAndExtract1: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.MasterScheduleApi()
projectId =  #  | 프로젝트 ID
docType =  #  | 문서 타입
body =  # Masterschedule_upload_body |  (optional)

try: 
    # 공정표 업로드 및 추출
    api_instance.upload_and_extract1(projectId, docType, body=body)
except ApiException as e:
    print("Exception when calling MasterScheduleApi->uploadAndExtract1: %s\n" % e)

Parameters

Body parameters
Name Description
body
Query parameters
Name Description
projectId*
(int64)
프로젝트 ID
Required
docType*
문서 타입
Required

Responses

Status: 200 - 업로드 성공

Status: 400 - 잘못된 요청

Status: 500 - 서버 오류


MobileWorker

getAccidents

안전사고 이력 조회

작업자의 안전사고 이력을 조회합니다.


/mobile/worker/accidents

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/mobile/worker/accidents"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MobileWorkerApi;

import java.io.File;
import java.util.*;

public class MobileWorkerApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        MobileWorkerApi apiInstance = new MobileWorkerApi();
        try {
            apiInstance.getAccidents();
        } catch (ApiException e) {
            System.err.println("Exception when calling MobileWorkerApi#getAccidents");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MobileWorkerApi;

public class MobileWorkerApiExample {

    public static void main(String[] args) {
        MobileWorkerApi apiInstance = new MobileWorkerApi();
        try {
            apiInstance.getAccidents();
        } catch (ApiException e) {
            System.err.println("Exception when calling MobileWorkerApi#getAccidents");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

MobileWorkerApi *apiInstance = [[MobileWorkerApi alloc] init];

// 안전사고 이력 조회
[apiInstance getAccidentsWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.MobileWorkerApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.getAccidents(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getAccidentsExample
    {
        public void main()
        {


            var apiInstance = new MobileWorkerApi();

            try
            {
                // 안전사고 이력 조회
                apiInstance.getAccidents();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MobileWorkerApi.getAccidents: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiMobileWorkerApi();

try {
    $api_instance->getAccidents();
} catch (Exception $e) {
    echo 'Exception when calling MobileWorkerApi->getAccidents: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::MobileWorkerApi;


my $api_instance = WWW::SwaggerClient::MobileWorkerApi->new();

eval { 
    $api_instance->getAccidents();
};
if ($@) {
    warn "Exception when calling MobileWorkerApi->getAccidents: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.MobileWorkerApi()

try: 
    # 안전사고 이력 조회
    api_instance.get_accidents()
except ApiException as e:
    print("Exception when calling MobileWorkerApi->getAccidents: %s\n" % e)

Parameters

Responses

Status: 200 - 조회 성공

Status: 401 - 인증 필요


getAttendanceHistory

근태 이력 조회

최근 N일간의 근태 이력을 조회합니다.


/mobile/worker/attendance-history

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/mobile/worker/attendance-history?days="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MobileWorkerApi;

import java.io.File;
import java.util.*;

public class MobileWorkerApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        MobileWorkerApi apiInstance = new MobileWorkerApi();
         days = ; //  | 조회 일수
        try {
            apiInstance.getAttendanceHistory(days);
        } catch (ApiException e) {
            System.err.println("Exception when calling MobileWorkerApi#getAttendanceHistory");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MobileWorkerApi;

public class MobileWorkerApiExample {

    public static void main(String[] args) {
        MobileWorkerApi apiInstance = new MobileWorkerApi();
         days = ; //  | 조회 일수
        try {
            apiInstance.getAttendanceHistory(days);
        } catch (ApiException e) {
            System.err.println("Exception when calling MobileWorkerApi#getAttendanceHistory");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *days = ; // 조회 일수 (optional) (default to 30)

MobileWorkerApi *apiInstance = [[MobileWorkerApi alloc] init];

// 근태 이력 조회
[apiInstance getAttendanceHistoryWith:days
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.MobileWorkerApi()
var opts = { 
  'days':  // {{}} 조회 일수
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.getAttendanceHistory(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getAttendanceHistoryExample
    {
        public void main()
        {


            var apiInstance = new MobileWorkerApi();
            var days = new (); //  | 조회 일수 (optional)  (default to 30)

            try
            {
                // 근태 이력 조회
                apiInstance.getAttendanceHistory(days);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MobileWorkerApi.getAttendanceHistory: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiMobileWorkerApi();
$days = ; //  | 조회 일수

try {
    $api_instance->getAttendanceHistory($days);
} catch (Exception $e) {
    echo 'Exception when calling MobileWorkerApi->getAttendanceHistory: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::MobileWorkerApi;


my $api_instance = WWW::SwaggerClient::MobileWorkerApi->new();
my $days = ; #  | 조회 일수

eval { 
    $api_instance->getAttendanceHistory(days => $days);
};
if ($@) {
    warn "Exception when calling MobileWorkerApi->getAttendanceHistory: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.MobileWorkerApi()
days =  #  | 조회 일수 (optional) (default to 30)

try: 
    # 근태 이력 조회
    api_instance.get_attendance_history(days=days)
except ApiException as e:
    print("Exception when calling MobileWorkerApi->getAttendanceHistory: %s\n" % e)

Parameters

Query parameters
Name Description
days
(int32)
조회 일수

Responses

Status: 200 - 조회 성공

Status: 401 - 인증 필요


getDeployments

배치 이력 조회

작업자의 배치 이력을 조회합니다.


/mobile/worker/deployments

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/mobile/worker/deployments"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MobileWorkerApi;

import java.io.File;
import java.util.*;

public class MobileWorkerApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        MobileWorkerApi apiInstance = new MobileWorkerApi();
        try {
            apiInstance.getDeployments();
        } catch (ApiException e) {
            System.err.println("Exception when calling MobileWorkerApi#getDeployments");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MobileWorkerApi;

public class MobileWorkerApiExample {

    public static void main(String[] args) {
        MobileWorkerApi apiInstance = new MobileWorkerApi();
        try {
            apiInstance.getDeployments();
        } catch (ApiException e) {
            System.err.println("Exception when calling MobileWorkerApi#getDeployments");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

MobileWorkerApi *apiInstance = [[MobileWorkerApi alloc] init];

// 배치 이력 조회
[apiInstance getDeploymentsWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.MobileWorkerApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.getDeployments(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getDeploymentsExample
    {
        public void main()
        {


            var apiInstance = new MobileWorkerApi();

            try
            {
                // 배치 이력 조회
                apiInstance.getDeployments();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MobileWorkerApi.getDeployments: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiMobileWorkerApi();

try {
    $api_instance->getDeployments();
} catch (Exception $e) {
    echo 'Exception when calling MobileWorkerApi->getDeployments: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::MobileWorkerApi;


my $api_instance = WWW::SwaggerClient::MobileWorkerApi->new();

eval { 
    $api_instance->getDeployments();
};
if ($@) {
    warn "Exception when calling MobileWorkerApi->getDeployments: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.MobileWorkerApi()

try: 
    # 배치 이력 조회
    api_instance.get_deployments()
except ApiException as e:
    print("Exception when calling MobileWorkerApi->getDeployments: %s\n" % e)

Parameters

Responses

Status: 200 - 조회 성공

Status: 401 - 인증 필요


getDocs

보유 서류 조회

작업자의 보유 서류 목록을 조회합니다.


/mobile/worker/docs

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/mobile/worker/docs"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MobileWorkerApi;

import java.io.File;
import java.util.*;

public class MobileWorkerApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        MobileWorkerApi apiInstance = new MobileWorkerApi();
        try {
            apiInstance.getDocs();
        } catch (ApiException e) {
            System.err.println("Exception when calling MobileWorkerApi#getDocs");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MobileWorkerApi;

public class MobileWorkerApiExample {

    public static void main(String[] args) {
        MobileWorkerApi apiInstance = new MobileWorkerApi();
        try {
            apiInstance.getDocs();
        } catch (ApiException e) {
            System.err.println("Exception when calling MobileWorkerApi#getDocs");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

MobileWorkerApi *apiInstance = [[MobileWorkerApi alloc] init];

// 보유 서류 조회
[apiInstance getDocsWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.MobileWorkerApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.getDocs(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getDocsExample
    {
        public void main()
        {


            var apiInstance = new MobileWorkerApi();

            try
            {
                // 보유 서류 조회
                apiInstance.getDocs();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MobileWorkerApi.getDocs: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiMobileWorkerApi();

try {
    $api_instance->getDocs();
} catch (Exception $e) {
    echo 'Exception when calling MobileWorkerApi->getDocs: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::MobileWorkerApi;


my $api_instance = WWW::SwaggerClient::MobileWorkerApi->new();

eval { 
    $api_instance->getDocs();
};
if ($@) {
    warn "Exception when calling MobileWorkerApi->getDocs: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.MobileWorkerApi()

try: 
    # 보유 서류 조회
    api_instance.get_docs()
except ApiException as e:
    print("Exception when calling MobileWorkerApi->getDocs: %s\n" % e)

Parameters

Responses

Status: 200 - 조회 성공

Status: 401 - 인증 필요


getProfile

내 프로필 조회

현재 인증된 작업자의 프로필을 조회합니다.


/mobile/worker/profile

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/mobile/worker/profile"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MobileWorkerApi;

import java.io.File;
import java.util.*;

public class MobileWorkerApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        MobileWorkerApi apiInstance = new MobileWorkerApi();
        try {
            ProfileRes result = apiInstance.getProfile();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MobileWorkerApi#getProfile");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MobileWorkerApi;

public class MobileWorkerApiExample {

    public static void main(String[] args) {
        MobileWorkerApi apiInstance = new MobileWorkerApi();
        try {
            ProfileRes result = apiInstance.getProfile();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MobileWorkerApi#getProfile");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

MobileWorkerApi *apiInstance = [[MobileWorkerApi alloc] init];

// 내 프로필 조회
[apiInstance getProfileWithCompletionHandler: 
              ^(ProfileRes output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.MobileWorkerApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getProfile(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getProfileExample
    {
        public void main()
        {


            var apiInstance = new MobileWorkerApi();

            try
            {
                // 내 프로필 조회
                ProfileRes result = apiInstance.getProfile();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MobileWorkerApi.getProfile: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiMobileWorkerApi();

try {
    $result = $api_instance->getProfile();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling MobileWorkerApi->getProfile: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::MobileWorkerApi;


my $api_instance = WWW::SwaggerClient::MobileWorkerApi->new();

eval { 
    my $result = $api_instance->getProfile();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MobileWorkerApi->getProfile: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.MobileWorkerApi()

try: 
    # 내 프로필 조회
    api_response = api_instance.get_profile()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MobileWorkerApi->getProfile: %s\n" % e)

Parameters

Responses

Status: 200 - 조회 성공

Status: 401 - 인증 필요


getToday

오늘 근태 및 배치 조회

오늘의 근태 상태와 배치 정보를 조회합니다.


/mobile/worker/today

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/mobile/worker/today"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MobileWorkerApi;

import java.io.File;
import java.util.*;

public class MobileWorkerApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        MobileWorkerApi apiInstance = new MobileWorkerApi();
        try {
            TodayRes result = apiInstance.getToday();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MobileWorkerApi#getToday");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MobileWorkerApi;

public class MobileWorkerApiExample {

    public static void main(String[] args) {
        MobileWorkerApi apiInstance = new MobileWorkerApi();
        try {
            TodayRes result = apiInstance.getToday();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MobileWorkerApi#getToday");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

MobileWorkerApi *apiInstance = [[MobileWorkerApi alloc] init];

// 오늘 근태 및 배치 조회
[apiInstance getTodayWithCompletionHandler: 
              ^(TodayRes output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.MobileWorkerApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getToday(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getTodayExample
    {
        public void main()
        {


            var apiInstance = new MobileWorkerApi();

            try
            {
                // 오늘 근태 및 배치 조회
                TodayRes result = apiInstance.getToday();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MobileWorkerApi.getToday: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiMobileWorkerApi();

try {
    $result = $api_instance->getToday();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling MobileWorkerApi->getToday: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::MobileWorkerApi;


my $api_instance = WWW::SwaggerClient::MobileWorkerApi->new();

eval { 
    my $result = $api_instance->getToday();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MobileWorkerApi->getToday: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.MobileWorkerApi()

try: 
    # 오늘 근태 및 배치 조회
    api_response = api_instance.get_today()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MobileWorkerApi->getToday: %s\n" % e)

Parameters

Responses

Status: 200 - 조회 성공

Status: 401 - 인증 필요


login

모바일 로그인

이름과 전화번호로 모바일 작업자 로그인을 수행합니다.


/mobile/auth/login

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"http://192.100.200.111:8080/mobile/auth/login"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MobileWorkerApi;

import java.io.File;
import java.util.*;

public class MobileWorkerApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        MobileWorkerApi apiInstance = new MobileWorkerApi();
        LoginReq body = ; // LoginReq | 
        try {
            LoginRes result = apiInstance.login(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MobileWorkerApi#login");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MobileWorkerApi;

public class MobileWorkerApiExample {

    public static void main(String[] args) {
        MobileWorkerApi apiInstance = new MobileWorkerApi();
        LoginReq body = ; // LoginReq | 
        try {
            LoginRes result = apiInstance.login(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MobileWorkerApi#login");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
LoginReq *body = ; // 

MobileWorkerApi *apiInstance = [[MobileWorkerApi alloc] init];

// 모바일 로그인
[apiInstance loginWith:body
              completionHandler: ^(LoginRes output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.MobileWorkerApi()
var body = ; // {{LoginReq}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.login(body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class loginExample
    {
        public void main()
        {


            var apiInstance = new MobileWorkerApi();
            var body = new LoginReq(); // LoginReq | 

            try
            {
                // 모바일 로그인
                LoginRes result = apiInstance.login(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MobileWorkerApi.login: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiMobileWorkerApi();
$body = ; // LoginReq | 

try {
    $result = $api_instance->login($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling MobileWorkerApi->login: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::MobileWorkerApi;


my $api_instance = WWW::SwaggerClient::MobileWorkerApi->new();
my $body = WWW::SwaggerClient::Object::LoginReq->new(); # LoginReq | 

eval { 
    my $result = $api_instance->login(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MobileWorkerApi->login: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.MobileWorkerApi()
body =  # LoginReq | 

try: 
    # 모바일 로그인
    api_response = api_instance.login(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MobileWorkerApi->login: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - 로그인 성공

Status: 400 - 잘못된 요청

Status: 401 - 인증 실패


recordAttendance

출퇴근 기록

출근(CHECK_IN) 또는 퇴근(CHECK_OUT)을 기록합니다.


/mobile/worker/attendance

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"http://192.100.200.111:8080/mobile/worker/attendance"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MobileWorkerApi;

import java.io.File;
import java.util.*;

public class MobileWorkerApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        MobileWorkerApi apiInstance = new MobileWorkerApi();
        AttendanceReq body = ; // AttendanceReq | 
        try {
            TodayRes result = apiInstance.recordAttendance(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MobileWorkerApi#recordAttendance");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MobileWorkerApi;

public class MobileWorkerApiExample {

    public static void main(String[] args) {
        MobileWorkerApi apiInstance = new MobileWorkerApi();
        AttendanceReq body = ; // AttendanceReq | 
        try {
            TodayRes result = apiInstance.recordAttendance(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MobileWorkerApi#recordAttendance");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
AttendanceReq *body = ; // 

MobileWorkerApi *apiInstance = [[MobileWorkerApi alloc] init];

// 출퇴근 기록
[apiInstance recordAttendanceWith:body
              completionHandler: ^(TodayRes output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.MobileWorkerApi()
var body = ; // {{AttendanceReq}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.recordAttendance(body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class recordAttendanceExample
    {
        public void main()
        {


            var apiInstance = new MobileWorkerApi();
            var body = new AttendanceReq(); // AttendanceReq | 

            try
            {
                // 출퇴근 기록
                TodayRes result = apiInstance.recordAttendance(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MobileWorkerApi.recordAttendance: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiMobileWorkerApi();
$body = ; // AttendanceReq | 

try {
    $result = $api_instance->recordAttendance($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling MobileWorkerApi->recordAttendance: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::MobileWorkerApi;


my $api_instance = WWW::SwaggerClient::MobileWorkerApi->new();
my $body = WWW::SwaggerClient::Object::AttendanceReq->new(); # AttendanceReq | 

eval { 
    my $result = $api_instance->recordAttendance(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MobileWorkerApi->recordAttendance: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.MobileWorkerApi()
body =  # AttendanceReq | 

try: 
    # 출퇴근 기록
    api_response = api_instance.record_attendance(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MobileWorkerApi->recordAttendance: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - 기록 성공

Status: 400 - 잘못된 요청

Status: 401 - 인증 필요


MobileWorkerSSE

assignmentStream

배치 알림 SSE 구독

모바일 작업자가 배치 알림 스트림(text/event-stream)을 구독합니다.


/mobile/sse/assignment-stream

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: text/event-stream"\
"http://192.100.200.111:8080/mobile/sse/assignment-stream"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MobileWorkerSSEApi;

import java.io.File;
import java.util.*;

public class MobileWorkerSSEApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        MobileWorkerSSEApi apiInstance = new MobileWorkerSSEApi();
        try {
            apiInstance.assignmentStream();
        } catch (ApiException e) {
            System.err.println("Exception when calling MobileWorkerSSEApi#assignmentStream");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MobileWorkerSSEApi;

public class MobileWorkerSSEApiExample {

    public static void main(String[] args) {
        MobileWorkerSSEApi apiInstance = new MobileWorkerSSEApi();
        try {
            apiInstance.assignmentStream();
        } catch (ApiException e) {
            System.err.println("Exception when calling MobileWorkerSSEApi#assignmentStream");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

MobileWorkerSSEApi *apiInstance = [[MobileWorkerSSEApi alloc] init];

// 배치 알림 SSE 구독
[apiInstance assignmentStreamWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.MobileWorkerSSEApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.assignmentStream(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class assignmentStreamExample
    {
        public void main()
        {


            var apiInstance = new MobileWorkerSSEApi();

            try
            {
                // 배치 알림 SSE 구독
                apiInstance.assignmentStream();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MobileWorkerSSEApi.assignmentStream: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiMobileWorkerSSEApi();

try {
    $api_instance->assignmentStream();
} catch (Exception $e) {
    echo 'Exception when calling MobileWorkerSSEApi->assignmentStream: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::MobileWorkerSSEApi;


my $api_instance = WWW::SwaggerClient::MobileWorkerSSEApi->new();

eval { 
    $api_instance->assignmentStream();
};
if ($@) {
    warn "Exception when calling MobileWorkerSSEApi->assignmentStream: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.MobileWorkerSSEApi()

try: 
    # 배치 알림 SSE 구독
    api_instance.assignment_stream()
except ApiException as e:
    print("Exception when calling MobileWorkerSSEApi->assignmentStream: %s\n" % e)

Parameters

Responses

Status: 200 - 구독 성공

Status: 401 - 인증 필요


Project

activate

프로젝트 활성화

프로젝트를 운영 중 상태로 변경합니다.


/project/{projectId}/activate

Usage and SDK Samples

curl -X PATCH\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/project/{projectId}/activate"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectApi;

import java.io.File;
import java.util.*;

public class ProjectApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        ProjectApi apiInstance = new ProjectApi();
         projectId = ; //  | 
        try {
            apiInstance.activate(projectId);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectApi#activate");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectApi;

public class ProjectApiExample {

    public static void main(String[] args) {
        ProjectApi apiInstance = new ProjectApi();
         projectId = ; //  | 
        try {
            apiInstance.activate(projectId);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectApi#activate");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *projectId = ; // 

ProjectApi *apiInstance = [[ProjectApi alloc] init];

// 프로젝트 활성화
[apiInstance activateWith:projectId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.ProjectApi()
var projectId = ; // {{}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.activate(projectId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class activateExample
    {
        public void main()
        {


            var apiInstance = new ProjectApi();
            var projectId = new (); //  | 

            try
            {
                // 프로젝트 활성화
                apiInstance.activate(projectId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectApi.activate: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiProjectApi();
$projectId = ; //  | 

try {
    $api_instance->activate($projectId);
} catch (Exception $e) {
    echo 'Exception when calling ProjectApi->activate: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProjectApi;


my $api_instance = WWW::SwaggerClient::ProjectApi->new();
my $projectId = ; #  | 

eval { 
    $api_instance->activate(projectId => $projectId);
};
if ($@) {
    warn "Exception when calling ProjectApi->activate: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.ProjectApi()
projectId =  #  | 

try: 
    # 프로젝트 활성화
    api_instance.activate(projectId)
except ApiException as e:
    print("Exception when calling ProjectApi->activate: %s\n" % e)

Parameters

Path parameters
Name Description
projectId*
(int64)
Required

Responses

Status: 200 - 변경 성공

Status: 404 - 대상을 찾을 수 없음

Status: 500 - 서버 오류


create3

프로젝트 생성

신규 프로젝트를 생성합니다.


/project

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"http://192.100.200.111:8080/project"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectApi;

import java.io.File;
import java.util.*;

public class ProjectApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        ProjectApi apiInstance = new ProjectApi();
        Req body = ; // Req | 
        try {
            apiInstance.create3(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectApi#create3");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectApi;

public class ProjectApiExample {

    public static void main(String[] args) {
        ProjectApi apiInstance = new ProjectApi();
        Req body = ; // Req | 
        try {
            apiInstance.create3(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectApi#create3");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
Req *body = ; // 

ProjectApi *apiInstance = [[ProjectApi alloc] init];

// 프로젝트 생성
[apiInstance create3With:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.ProjectApi()
var body = ; // {{Req}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.create3(body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class create3Example
    {
        public void main()
        {


            var apiInstance = new ProjectApi();
            var body = new Req(); // Req | 

            try
            {
                // 프로젝트 생성
                apiInstance.create3(body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectApi.create3: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiProjectApi();
$body = ; // Req | 

try {
    $api_instance->create3($body);
} catch (Exception $e) {
    echo 'Exception when calling ProjectApi->create3: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProjectApi;


my $api_instance = WWW::SwaggerClient::ProjectApi->new();
my $body = WWW::SwaggerClient::Object::Req->new(); # Req | 

eval { 
    $api_instance->create3(body => $body);
};
if ($@) {
    warn "Exception when calling ProjectApi->create3: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.ProjectApi()
body =  # Req | 

try: 
    # 프로젝트 생성
    api_instance.create3(body)
except ApiException as e:
    print("Exception when calling ProjectApi->create3: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - 생성 성공

Status: 400 - 잘못된 요청

Status: 500 - 서버 오류


deactivate

프로젝트 비활성화

프로젝트를 운영 종료 상태로 변경합니다.


/project/{projectId}/deactivate

Usage and SDK Samples

curl -X PATCH\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/project/{projectId}/deactivate"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectApi;

import java.io.File;
import java.util.*;

public class ProjectApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        ProjectApi apiInstance = new ProjectApi();
         projectId = ; //  | 
        try {
            apiInstance.deactivate(projectId);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectApi#deactivate");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectApi;

public class ProjectApiExample {

    public static void main(String[] args) {
        ProjectApi apiInstance = new ProjectApi();
         projectId = ; //  | 
        try {
            apiInstance.deactivate(projectId);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectApi#deactivate");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *projectId = ; // 

ProjectApi *apiInstance = [[ProjectApi alloc] init];

// 프로젝트 비활성화
[apiInstance deactivateWith:projectId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.ProjectApi()
var projectId = ; // {{}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deactivate(projectId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class deactivateExample
    {
        public void main()
        {


            var apiInstance = new ProjectApi();
            var projectId = new (); //  | 

            try
            {
                // 프로젝트 비활성화
                apiInstance.deactivate(projectId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectApi.deactivate: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiProjectApi();
$projectId = ; //  | 

try {
    $api_instance->deactivate($projectId);
} catch (Exception $e) {
    echo 'Exception when calling ProjectApi->deactivate: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProjectApi;


my $api_instance = WWW::SwaggerClient::ProjectApi->new();
my $projectId = ; #  | 

eval { 
    $api_instance->deactivate(projectId => $projectId);
};
if ($@) {
    warn "Exception when calling ProjectApi->deactivate: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.ProjectApi()
projectId =  #  | 

try: 
    # 프로젝트 비활성화
    api_instance.deactivate(projectId)
except ApiException as e:
    print("Exception when calling ProjectApi->deactivate: %s\n" % e)

Parameters

Path parameters
Name Description
projectId*
(int64)
Required

Responses

Status: 200 - 변경 성공

Status: 404 - 대상을 찾을 수 없음

Status: 500 - 서버 오류


delete2

프로젝트 삭제

프로젝트를 삭제합니다.


/project/{projectId}

Usage and SDK Samples

curl -X DELETE\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/project/{projectId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectApi;

import java.io.File;
import java.util.*;

public class ProjectApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        ProjectApi apiInstance = new ProjectApi();
         projectId = ; //  | 
        try {
            apiInstance.delete2(projectId);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectApi#delete2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectApi;

public class ProjectApiExample {

    public static void main(String[] args) {
        ProjectApi apiInstance = new ProjectApi();
         projectId = ; //  | 
        try {
            apiInstance.delete2(projectId);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectApi#delete2");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *projectId = ; // 

ProjectApi *apiInstance = [[ProjectApi alloc] init];

// 프로젝트 삭제
[apiInstance delete2With:projectId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.ProjectApi()
var projectId = ; // {{}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.delete2(projectId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class delete2Example
    {
        public void main()
        {


            var apiInstance = new ProjectApi();
            var projectId = new (); //  | 

            try
            {
                // 프로젝트 삭제
                apiInstance.delete2(projectId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectApi.delete2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiProjectApi();
$projectId = ; //  | 

try {
    $api_instance->delete2($projectId);
} catch (Exception $e) {
    echo 'Exception when calling ProjectApi->delete2: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProjectApi;


my $api_instance = WWW::SwaggerClient::ProjectApi->new();
my $projectId = ; #  | 

eval { 
    $api_instance->delete2(projectId => $projectId);
};
if ($@) {
    warn "Exception when calling ProjectApi->delete2: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.ProjectApi()
projectId =  #  | 

try: 
    # 프로젝트 삭제
    api_instance.delete2(projectId)
except ApiException as e:
    print("Exception when calling ProjectApi->delete2: %s\n" % e)

Parameters

Path parameters
Name Description
projectId*
(int64)
Required

Responses

Status: 200 - 삭제 성공

Status: 404 - 대상을 찾을 수 없음

Status: 500 - 서버 오류


list3

프로젝트 목록 조회

프로젝트 목록을 조회합니다.


/project

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/project"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectApi;

import java.io.File;
import java.util.*;

public class ProjectApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        ProjectApi apiInstance = new ProjectApi();
        try {
            apiInstance.list3();
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectApi#list3");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectApi;

public class ProjectApiExample {

    public static void main(String[] args) {
        ProjectApi apiInstance = new ProjectApi();
        try {
            apiInstance.list3();
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectApi#list3");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

ProjectApi *apiInstance = [[ProjectApi alloc] init];

// 프로젝트 목록 조회
[apiInstance list3WithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.ProjectApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.list3(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class list3Example
    {
        public void main()
        {


            var apiInstance = new ProjectApi();

            try
            {
                // 프로젝트 목록 조회
                apiInstance.list3();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectApi.list3: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiProjectApi();

try {
    $api_instance->list3();
} catch (Exception $e) {
    echo 'Exception when calling ProjectApi->list3: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProjectApi;


my $api_instance = WWW::SwaggerClient::ProjectApi->new();

eval { 
    $api_instance->list3();
};
if ($@) {
    warn "Exception when calling ProjectApi->list3: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.ProjectApi()

try: 
    # 프로젝트 목록 조회
    api_instance.list3()
except ApiException as e:
    print("Exception when calling ProjectApi->list3: %s\n" % e)

Parameters

Responses

Status: 200 - 조회 성공

Status: 500 - 서버 오류


read2

프로젝트 단건 조회

프로젝트 ID로 단건 정보를 조회합니다.


/project/{projectId}

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/project/{projectId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectApi;

import java.io.File;
import java.util.*;

public class ProjectApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        ProjectApi apiInstance = new ProjectApi();
         projectId = ; //  | 
        try {
            Res result = apiInstance.read2(projectId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectApi#read2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectApi;

public class ProjectApiExample {

    public static void main(String[] args) {
        ProjectApi apiInstance = new ProjectApi();
         projectId = ; //  | 
        try {
            Res result = apiInstance.read2(projectId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectApi#read2");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *projectId = ; // 

ProjectApi *apiInstance = [[ProjectApi alloc] init];

// 프로젝트 단건 조회
[apiInstance read2With:projectId
              completionHandler: ^(Res output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.ProjectApi()
var projectId = ; // {{}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.read2(projectId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class read2Example
    {
        public void main()
        {


            var apiInstance = new ProjectApi();
            var projectId = new (); //  | 

            try
            {
                // 프로젝트 단건 조회
                Res result = apiInstance.read2(projectId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectApi.read2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiProjectApi();
$projectId = ; //  | 

try {
    $result = $api_instance->read2($projectId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProjectApi->read2: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProjectApi;


my $api_instance = WWW::SwaggerClient::ProjectApi->new();
my $projectId = ; #  | 

eval { 
    my $result = $api_instance->read2(projectId => $projectId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProjectApi->read2: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.ProjectApi()
projectId =  #  | 

try: 
    # 프로젝트 단건 조회
    api_response = api_instance.read2(projectId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProjectApi->read2: %s\n" % e)

Parameters

Path parameters
Name Description
projectId*
(int64)
Required

Responses

Status: 200 - 조회 성공

Status: 404 - 대상을 찾을 수 없음

Status: 500 - 서버 오류


update2

프로젝트 수정

프로젝트 정보를 수정합니다.


/project/{projectId}

Usage and SDK Samples

curl -X PUT\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"http://192.100.200.111:8080/project/{projectId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectApi;

import java.io.File;
import java.util.*;

public class ProjectApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        ProjectApi apiInstance = new ProjectApi();
        Req body = ; // Req | 
         projectId = ; //  | 프로젝트 ID
        try {
            apiInstance.update2(body, projectId);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectApi#update2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectApi;

public class ProjectApiExample {

    public static void main(String[] args) {
        ProjectApi apiInstance = new ProjectApi();
        Req body = ; // Req | 
         projectId = ; //  | 프로젝트 ID
        try {
            apiInstance.update2(body, projectId);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectApi#update2");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
Req *body = ; // 
 *projectId = ; // 프로젝트 ID

ProjectApi *apiInstance = [[ProjectApi alloc] init];

// 프로젝트 수정
[apiInstance update2With:body
    projectId:projectId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.ProjectApi()
var body = ; // {{Req}} 
var projectId = ; // {{}} 프로젝트 ID

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.update2(bodyprojectId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class update2Example
    {
        public void main()
        {


            var apiInstance = new ProjectApi();
            var body = new Req(); // Req | 
            var projectId = new (); //  | 프로젝트 ID

            try
            {
                // 프로젝트 수정
                apiInstance.update2(body, projectId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectApi.update2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiProjectApi();
$body = ; // Req | 
$projectId = ; //  | 프로젝트 ID

try {
    $api_instance->update2($body, $projectId);
} catch (Exception $e) {
    echo 'Exception when calling ProjectApi->update2: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProjectApi;


my $api_instance = WWW::SwaggerClient::ProjectApi->new();
my $body = WWW::SwaggerClient::Object::Req->new(); # Req | 
my $projectId = ; #  | 프로젝트 ID

eval { 
    $api_instance->update2(body => $body, projectId => $projectId);
};
if ($@) {
    warn "Exception when calling ProjectApi->update2: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.ProjectApi()
body =  # Req | 
projectId =  #  | 프로젝트 ID

try: 
    # 프로젝트 수정
    api_instance.update2(body, projectId)
except ApiException as e:
    print("Exception when calling ProjectApi->update2: %s\n" % e)

Parameters

Path parameters
Name Description
projectId*
(int64)
프로젝트 ID
Required
Body parameters
Name Description
body *

Responses

Status: 200 - 수정 성공

Status: 400 - 잘못된 요청

Status: 404 - 대상을 찾을 수 없음

Status: 500 - 서버 오류


ScheduleChange

apply

공정표 반영

승인된 일정 변경 요청을 공정표에 반영합니다.


/schedule-change-request/{requestId}/apply

Usage and SDK Samples

curl -X PUT\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/schedule-change-request/{requestId}/apply"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ScheduleChangeApi;

import java.io.File;
import java.util.*;

public class ScheduleChangeApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        ScheduleChangeApi apiInstance = new ScheduleChangeApi();
         requestId = ; //  | 요청 ID
        try {
            apiInstance.apply(requestId);
        } catch (ApiException e) {
            System.err.println("Exception when calling ScheduleChangeApi#apply");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ScheduleChangeApi;

public class ScheduleChangeApiExample {

    public static void main(String[] args) {
        ScheduleChangeApi apiInstance = new ScheduleChangeApi();
         requestId = ; //  | 요청 ID
        try {
            apiInstance.apply(requestId);
        } catch (ApiException e) {
            System.err.println("Exception when calling ScheduleChangeApi#apply");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *requestId = ; // 요청 ID

ScheduleChangeApi *apiInstance = [[ScheduleChangeApi alloc] init];

// 공정표 반영
[apiInstance applyWith:requestId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.ScheduleChangeApi()
var requestId = ; // {{}} 요청 ID

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.apply(requestId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class applyExample
    {
        public void main()
        {


            var apiInstance = new ScheduleChangeApi();
            var requestId = new (); //  | 요청 ID

            try
            {
                // 공정표 반영
                apiInstance.apply(requestId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ScheduleChangeApi.apply: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiScheduleChangeApi();
$requestId = ; //  | 요청 ID

try {
    $api_instance->apply($requestId);
} catch (Exception $e) {
    echo 'Exception when calling ScheduleChangeApi->apply: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ScheduleChangeApi;


my $api_instance = WWW::SwaggerClient::ScheduleChangeApi->new();
my $requestId = ; #  | 요청 ID

eval { 
    $api_instance->apply(requestId => $requestId);
};
if ($@) {
    warn "Exception when calling ScheduleChangeApi->apply: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.ScheduleChangeApi()
requestId =  #  | 요청 ID

try: 
    # 공정표 반영
    api_instance.apply(requestId)
except ApiException as e:
    print("Exception when calling ScheduleChangeApi->apply: %s\n" % e)

Parameters

Path parameters
Name Description
requestId*
(int64)
요청 ID
Required

Responses

Status: 200 - 반영 성공

Status: 500 - 서버 오류


approve

변경 요청 승인

총 책임자가 일정 변경 요청을 승인합니다.


/schedule-change-request/{requestId}/approve

Usage and SDK Samples

curl -X PUT\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"http://192.100.200.111:8080/schedule-change-request/{requestId}/approve"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ScheduleChangeApi;

import java.io.File;
import java.util.*;

public class ScheduleChangeApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        ScheduleChangeApi apiInstance = new ScheduleChangeApi();
        ApproveReq body = ; // ApproveReq | 승인 요청 데이터
         requestId = ; //  | 요청 ID
        try {
            apiInstance.approve(body, requestId);
        } catch (ApiException e) {
            System.err.println("Exception when calling ScheduleChangeApi#approve");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ScheduleChangeApi;

public class ScheduleChangeApiExample {

    public static void main(String[] args) {
        ScheduleChangeApi apiInstance = new ScheduleChangeApi();
        ApproveReq body = ; // ApproveReq | 승인 요청 데이터
         requestId = ; //  | 요청 ID
        try {
            apiInstance.approve(body, requestId);
        } catch (ApiException e) {
            System.err.println("Exception when calling ScheduleChangeApi#approve");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
ApproveReq *body = ; // 승인 요청 데이터
 *requestId = ; // 요청 ID

ScheduleChangeApi *apiInstance = [[ScheduleChangeApi alloc] init];

// 변경 요청 승인
[apiInstance approveWith:body
    requestId:requestId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.ScheduleChangeApi()
var body = ; // {{ApproveReq}} 승인 요청 데이터
var requestId = ; // {{}} 요청 ID

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.approve(bodyrequestId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class approveExample
    {
        public void main()
        {


            var apiInstance = new ScheduleChangeApi();
            var body = new ApproveReq(); // ApproveReq | 승인 요청 데이터
            var requestId = new (); //  | 요청 ID

            try
            {
                // 변경 요청 승인
                apiInstance.approve(body, requestId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ScheduleChangeApi.approve: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiScheduleChangeApi();
$body = ; // ApproveReq | 승인 요청 데이터
$requestId = ; //  | 요청 ID

try {
    $api_instance->approve($body, $requestId);
} catch (Exception $e) {
    echo 'Exception when calling ScheduleChangeApi->approve: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ScheduleChangeApi;


my $api_instance = WWW::SwaggerClient::ScheduleChangeApi->new();
my $body = WWW::SwaggerClient::Object::ApproveReq->new(); # ApproveReq | 승인 요청 데이터
my $requestId = ; #  | 요청 ID

eval { 
    $api_instance->approve(body => $body, requestId => $requestId);
};
if ($@) {
    warn "Exception when calling ScheduleChangeApi->approve: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.ScheduleChangeApi()
body =  # ApproveReq | 승인 요청 데이터
requestId =  #  | 요청 ID

try: 
    # 변경 요청 승인
    api_instance.approve(body, requestId)
except ApiException as e:
    print("Exception when calling ScheduleChangeApi->approve: %s\n" % e)

Parameters

Path parameters
Name Description
requestId*
(int64)
요청 ID
Required
Body parameters
Name Description
body *

Responses

Status: 200 - 승인 성공

Status: 500 - 서버 오류


create2

변경 요청 등록

공정 책임자가 일정 변경 요청을 등록합니다.


/schedule-change-request

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"http://192.100.200.111:8080/schedule-change-request"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ScheduleChangeApi;

import java.io.File;
import java.util.*;

public class ScheduleChangeApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        ScheduleChangeApi apiInstance = new ScheduleChangeApi();
        Req body = ; // Req | 일정 변경 요청 데이터
        try {
            apiInstance.create2(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling ScheduleChangeApi#create2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ScheduleChangeApi;

public class ScheduleChangeApiExample {

    public static void main(String[] args) {
        ScheduleChangeApi apiInstance = new ScheduleChangeApi();
        Req body = ; // Req | 일정 변경 요청 데이터
        try {
            apiInstance.create2(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling ScheduleChangeApi#create2");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
Req *body = ; // 일정 변경 요청 데이터

ScheduleChangeApi *apiInstance = [[ScheduleChangeApi alloc] init];

// 변경 요청 등록
[apiInstance create2With:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.ScheduleChangeApi()
var body = ; // {{Req}} 일정 변경 요청 데이터

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.create2(body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class create2Example
    {
        public void main()
        {


            var apiInstance = new ScheduleChangeApi();
            var body = new Req(); // Req | 일정 변경 요청 데이터

            try
            {
                // 변경 요청 등록
                apiInstance.create2(body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ScheduleChangeApi.create2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiScheduleChangeApi();
$body = ; // Req | 일정 변경 요청 데이터

try {
    $api_instance->create2($body);
} catch (Exception $e) {
    echo 'Exception when calling ScheduleChangeApi->create2: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ScheduleChangeApi;


my $api_instance = WWW::SwaggerClient::ScheduleChangeApi->new();
my $body = WWW::SwaggerClient::Object::Req->new(); # Req | 일정 변경 요청 데이터

eval { 
    $api_instance->create2(body => $body);
};
if ($@) {
    warn "Exception when calling ScheduleChangeApi->create2: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.ScheduleChangeApi()
body =  # Req | 일정 변경 요청 데이터

try: 
    # 변경 요청 등록
    api_instance.create2(body)
except ApiException as e:
    print("Exception when calling ScheduleChangeApi->create2: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - 등록 성공

Status: 500 - 서버 오류


history

변경 이력 조회

처리 완료된 일정 변경 이력을 조회합니다.


/schedule-change-request/history

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/schedule-change-request/history?projectId=&process="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ScheduleChangeApi;

import java.io.File;
import java.util.*;

public class ScheduleChangeApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        ScheduleChangeApi apiInstance = new ScheduleChangeApi();
         projectId = ; //  | 프로젝트 ID
         process = ; //  | 공정/공종 필터
        try {
            apiInstance.history(projectId, process);
        } catch (ApiException e) {
            System.err.println("Exception when calling ScheduleChangeApi#history");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ScheduleChangeApi;

public class ScheduleChangeApiExample {

    public static void main(String[] args) {
        ScheduleChangeApi apiInstance = new ScheduleChangeApi();
         projectId = ; //  | 프로젝트 ID
         process = ; //  | 공정/공종 필터
        try {
            apiInstance.history(projectId, process);
        } catch (ApiException e) {
            System.err.println("Exception when calling ScheduleChangeApi#history");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *projectId = ; // 프로젝트 ID
 *process = ; // 공정/공종 필터 (optional)

ScheduleChangeApi *apiInstance = [[ScheduleChangeApi alloc] init];

// 변경 이력 조회
[apiInstance historyWith:projectId
    process:process
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.ScheduleChangeApi()
var projectId = ; // {{}} 프로젝트 ID
var opts = { 
  'process':  // {{}} 공정/공종 필터
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.history(projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class historyExample
    {
        public void main()
        {


            var apiInstance = new ScheduleChangeApi();
            var projectId = new (); //  | 프로젝트 ID
            var process = new (); //  | 공정/공종 필터 (optional) 

            try
            {
                // 변경 이력 조회
                apiInstance.history(projectId, process);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ScheduleChangeApi.history: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiScheduleChangeApi();
$projectId = ; //  | 프로젝트 ID
$process = ; //  | 공정/공종 필터

try {
    $api_instance->history($projectId, $process);
} catch (Exception $e) {
    echo 'Exception when calling ScheduleChangeApi->history: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ScheduleChangeApi;


my $api_instance = WWW::SwaggerClient::ScheduleChangeApi->new();
my $projectId = ; #  | 프로젝트 ID
my $process = ; #  | 공정/공종 필터

eval { 
    $api_instance->history(projectId => $projectId, process => $process);
};
if ($@) {
    warn "Exception when calling ScheduleChangeApi->history: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.ScheduleChangeApi()
projectId =  #  | 프로젝트 ID
process =  #  | 공정/공종 필터 (optional)

try: 
    # 변경 이력 조회
    api_instance.history(projectId, process=process)
except ApiException as e:
    print("Exception when calling ScheduleChangeApi->history: %s\n" % e)

Parameters

Query parameters
Name Description
projectId*
(int64)
프로젝트 ID
Required
process
공정/공종 필터

Responses

Status: 200 - 조회 성공

Status: 500 - 서버 오류


list2

변경 요청 목록

프로젝트 기준 일정 변경 요청 목록을 조회합니다.


/schedule-change-request

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/schedule-change-request?projectId=&process=&requester="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ScheduleChangeApi;

import java.io.File;
import java.util.*;

public class ScheduleChangeApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        ScheduleChangeApi apiInstance = new ScheduleChangeApi();
         projectId = ; //  | 프로젝트 ID
         process = ; //  | 공정/공종 필터
         requester = ; //  | 요청자 필터
        try {
            apiInstance.list2(projectId, process, requester);
        } catch (ApiException e) {
            System.err.println("Exception when calling ScheduleChangeApi#list2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ScheduleChangeApi;

public class ScheduleChangeApiExample {

    public static void main(String[] args) {
        ScheduleChangeApi apiInstance = new ScheduleChangeApi();
         projectId = ; //  | 프로젝트 ID
         process = ; //  | 공정/공종 필터
         requester = ; //  | 요청자 필터
        try {
            apiInstance.list2(projectId, process, requester);
        } catch (ApiException e) {
            System.err.println("Exception when calling ScheduleChangeApi#list2");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *projectId = ; // 프로젝트 ID
 *process = ; // 공정/공종 필터 (optional)
 *requester = ; // 요청자 필터 (optional)

ScheduleChangeApi *apiInstance = [[ScheduleChangeApi alloc] init];

// 변경 요청 목록
[apiInstance list2With:projectId
    process:process
    requester:requester
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.ScheduleChangeApi()
var projectId = ; // {{}} 프로젝트 ID
var opts = { 
  'process': , // {{}} 공정/공종 필터
  'requester':  // {{}} 요청자 필터
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.list2(projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class list2Example
    {
        public void main()
        {


            var apiInstance = new ScheduleChangeApi();
            var projectId = new (); //  | 프로젝트 ID
            var process = new (); //  | 공정/공종 필터 (optional) 
            var requester = new (); //  | 요청자 필터 (optional) 

            try
            {
                // 변경 요청 목록
                apiInstance.list2(projectId, process, requester);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ScheduleChangeApi.list2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiScheduleChangeApi();
$projectId = ; //  | 프로젝트 ID
$process = ; //  | 공정/공종 필터
$requester = ; //  | 요청자 필터

try {
    $api_instance->list2($projectId, $process, $requester);
} catch (Exception $e) {
    echo 'Exception when calling ScheduleChangeApi->list2: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ScheduleChangeApi;


my $api_instance = WWW::SwaggerClient::ScheduleChangeApi->new();
my $projectId = ; #  | 프로젝트 ID
my $process = ; #  | 공정/공종 필터
my $requester = ; #  | 요청자 필터

eval { 
    $api_instance->list2(projectId => $projectId, process => $process, requester => $requester);
};
if ($@) {
    warn "Exception when calling ScheduleChangeApi->list2: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.ScheduleChangeApi()
projectId =  #  | 프로젝트 ID
process =  #  | 공정/공종 필터 (optional)
requester =  #  | 요청자 필터 (optional)

try: 
    # 변경 요청 목록
    api_instance.list2(projectId, process=process, requester=requester)
except ApiException as e:
    print("Exception when calling ScheduleChangeApi->list2: %s\n" % e)

Parameters

Query parameters
Name Description
projectId*
(int64)
프로젝트 ID
Required
process
공정/공종 필터
requester
요청자 필터

Responses

Status: 200 - 조회 성공

Status: 500 - 서버 오류


reject

변경 요청 반려

총 책임자가 일정 변경 요청을 반려합니다.


/schedule-change-request/{requestId}/reject

Usage and SDK Samples

curl -X PUT\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"http://192.100.200.111:8080/schedule-change-request/{requestId}/reject"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ScheduleChangeApi;

import java.io.File;
import java.util.*;

public class ScheduleChangeApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        ScheduleChangeApi apiInstance = new ScheduleChangeApi();
        RejectReq body = ; // RejectReq | 반려 요청 데이터
         requestId = ; //  | 요청 ID
        try {
            apiInstance.reject(body, requestId);
        } catch (ApiException e) {
            System.err.println("Exception when calling ScheduleChangeApi#reject");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ScheduleChangeApi;

public class ScheduleChangeApiExample {

    public static void main(String[] args) {
        ScheduleChangeApi apiInstance = new ScheduleChangeApi();
        RejectReq body = ; // RejectReq | 반려 요청 데이터
         requestId = ; //  | 요청 ID
        try {
            apiInstance.reject(body, requestId);
        } catch (ApiException e) {
            System.err.println("Exception when calling ScheduleChangeApi#reject");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
RejectReq *body = ; // 반려 요청 데이터
 *requestId = ; // 요청 ID

ScheduleChangeApi *apiInstance = [[ScheduleChangeApi alloc] init];

// 변경 요청 반려
[apiInstance rejectWith:body
    requestId:requestId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.ScheduleChangeApi()
var body = ; // {{RejectReq}} 반려 요청 데이터
var requestId = ; // {{}} 요청 ID

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.reject(bodyrequestId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class rejectExample
    {
        public void main()
        {


            var apiInstance = new ScheduleChangeApi();
            var body = new RejectReq(); // RejectReq | 반려 요청 데이터
            var requestId = new (); //  | 요청 ID

            try
            {
                // 변경 요청 반려
                apiInstance.reject(body, requestId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ScheduleChangeApi.reject: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiScheduleChangeApi();
$body = ; // RejectReq | 반려 요청 데이터
$requestId = ; //  | 요청 ID

try {
    $api_instance->reject($body, $requestId);
} catch (Exception $e) {
    echo 'Exception when calling ScheduleChangeApi->reject: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ScheduleChangeApi;


my $api_instance = WWW::SwaggerClient::ScheduleChangeApi->new();
my $body = WWW::SwaggerClient::Object::RejectReq->new(); # RejectReq | 반려 요청 데이터
my $requestId = ; #  | 요청 ID

eval { 
    $api_instance->reject(body => $body, requestId => $requestId);
};
if ($@) {
    warn "Exception when calling ScheduleChangeApi->reject: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.ScheduleChangeApi()
body =  # RejectReq | 반려 요청 데이터
requestId =  #  | 요청 ID

try: 
    # 변경 요청 반려
    api_instance.reject(body, requestId)
except ApiException as e:
    print("Exception when calling ScheduleChangeApi->reject: %s\n" % e)

Parameters

Path parameters
Name Description
requestId*
(int64)
요청 ID
Required
Body parameters
Name Description
body *

Responses

Status: 200 - 반려 성공

Status: 500 - 서버 오류


Staffing

assignWorkers

작업자 수동 배치

상세 구역에 작업자를 수동으로 배치합니다.


/staffing/zones/{zoneSubIdx}/assign

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"http://192.100.200.111:8080/staffing/zones/{zoneSubIdx}/assign?rosterDate="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.StaffingApi;

import java.io.File;
import java.util.*;

public class StaffingApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        StaffingApi apiInstance = new StaffingApi();
        AssignReq body = ; // AssignReq | 
         zoneSubIdx = ; //  | 상세 구역 ID
         rosterDate = ; //  | 명단 기준 일자
        try {
            BaseResponseVoid result = apiInstance.assignWorkers(body, zoneSubIdx, rosterDate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling StaffingApi#assignWorkers");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.StaffingApi;

public class StaffingApiExample {

    public static void main(String[] args) {
        StaffingApi apiInstance = new StaffingApi();
        AssignReq body = ; // AssignReq | 
         zoneSubIdx = ; //  | 상세 구역 ID
         rosterDate = ; //  | 명단 기준 일자
        try {
            BaseResponseVoid result = apiInstance.assignWorkers(body, zoneSubIdx, rosterDate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling StaffingApi#assignWorkers");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
AssignReq *body = ; // 
 *zoneSubIdx = ; // 상세 구역 ID
 *rosterDate = ; // 명단 기준 일자 (optional)

StaffingApi *apiInstance = [[StaffingApi alloc] init];

// 작업자 수동 배치
[apiInstance assignWorkersWith:body
    zoneSubIdx:zoneSubIdx
    rosterDate:rosterDate
              completionHandler: ^(BaseResponseVoid output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.StaffingApi()
var body = ; // {{AssignReq}} 
var zoneSubIdx = ; // {{}} 상세 구역 ID
var opts = { 
  'rosterDate':  // {{}} 명단 기준 일자
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.assignWorkers(bodyzoneSubIdx, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class assignWorkersExample
    {
        public void main()
        {


            var apiInstance = new StaffingApi();
            var body = new AssignReq(); // AssignReq | 
            var zoneSubIdx = new (); //  | 상세 구역 ID
            var rosterDate = new (); //  | 명단 기준 일자 (optional) 

            try
            {
                // 작업자 수동 배치
                BaseResponseVoid result = apiInstance.assignWorkers(body, zoneSubIdx, rosterDate);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling StaffingApi.assignWorkers: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiStaffingApi();
$body = ; // AssignReq | 
$zoneSubIdx = ; //  | 상세 구역 ID
$rosterDate = ; //  | 명단 기준 일자

try {
    $result = $api_instance->assignWorkers($body, $zoneSubIdx, $rosterDate);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling StaffingApi->assignWorkers: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::StaffingApi;


my $api_instance = WWW::SwaggerClient::StaffingApi->new();
my $body = WWW::SwaggerClient::Object::AssignReq->new(); # AssignReq | 
my $zoneSubIdx = ; #  | 상세 구역 ID
my $rosterDate = ; #  | 명단 기준 일자

eval { 
    my $result = $api_instance->assignWorkers(body => $body, zoneSubIdx => $zoneSubIdx, rosterDate => $rosterDate);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling StaffingApi->assignWorkers: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.StaffingApi()
body =  # AssignReq | 
zoneSubIdx =  #  | 상세 구역 ID
rosterDate =  #  | 명단 기준 일자 (optional)

try: 
    # 작업자 수동 배치
    api_response = api_instance.assign_workers(body, zoneSubIdx, rosterDate=rosterDate)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling StaffingApi->assignWorkers: %s\n" % e)

Parameters

Path parameters
Name Description
zoneSubIdx*
(int64)
상세 구역 ID
Required
Body parameters
Name Description
body *
Query parameters
Name Description
rosterDate
(date)
명단 기준 일자

Responses

Status: 201 - 배치 성공


autoRecommend

인력 자동 추천 배치

기준 일자와 현장을 기반으로 자동 추천 배치를 수행합니다.


/staffing/auto-recommend

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/staffing/auto-recommend?siteCode=&rosterDate="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.StaffingApi;

import java.io.File;
import java.util.*;

public class StaffingApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        StaffingApi apiInstance = new StaffingApi();
         siteCode = ; //  | 현장 코드
         rosterDate = ; //  | 명단 기준 일자
        try {
            BaseResponseSaveSummaryRes result = apiInstance.autoRecommend(siteCode, rosterDate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling StaffingApi#autoRecommend");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.StaffingApi;

public class StaffingApiExample {

    public static void main(String[] args) {
        StaffingApi apiInstance = new StaffingApi();
         siteCode = ; //  | 현장 코드
         rosterDate = ; //  | 명단 기준 일자
        try {
            BaseResponseSaveSummaryRes result = apiInstance.autoRecommend(siteCode, rosterDate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling StaffingApi#autoRecommend");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *siteCode = ; // 현장 코드 (optional)
 *rosterDate = ; // 명단 기준 일자 (optional)

StaffingApi *apiInstance = [[StaffingApi alloc] init];

// 인력 자동 추천 배치
[apiInstance autoRecommendWith:siteCode
    rosterDate:rosterDate
              completionHandler: ^(BaseResponseSaveSummaryRes output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.StaffingApi()
var opts = { 
  'siteCode': , // {{}} 현장 코드
  'rosterDate':  // {{}} 명단 기준 일자
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.autoRecommend(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class autoRecommendExample
    {
        public void main()
        {


            var apiInstance = new StaffingApi();
            var siteCode = new (); //  | 현장 코드 (optional) 
            var rosterDate = new (); //  | 명단 기준 일자 (optional) 

            try
            {
                // 인력 자동 추천 배치
                BaseResponseSaveSummaryRes result = apiInstance.autoRecommend(siteCode, rosterDate);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling StaffingApi.autoRecommend: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiStaffingApi();
$siteCode = ; //  | 현장 코드
$rosterDate = ; //  | 명단 기준 일자

try {
    $result = $api_instance->autoRecommend($siteCode, $rosterDate);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling StaffingApi->autoRecommend: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::StaffingApi;


my $api_instance = WWW::SwaggerClient::StaffingApi->new();
my $siteCode = ; #  | 현장 코드
my $rosterDate = ; #  | 명단 기준 일자

eval { 
    my $result = $api_instance->autoRecommend(siteCode => $siteCode, rosterDate => $rosterDate);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling StaffingApi->autoRecommend: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.StaffingApi()
siteCode =  #  | 현장 코드 (optional)
rosterDate =  #  | 명단 기준 일자 (optional)

try: 
    # 인력 자동 추천 배치
    api_response = api_instance.auto_recommend(siteCode=siteCode, rosterDate=rosterDate)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling StaffingApi->autoRecommend: %s\n" % e)

Parameters

Query parameters
Name Description
siteCode
현장 코드
rosterDate
(date)
명단 기준 일자

Responses

Status: 200 - 자동 추천 배치 성공


getAssignedWorkers

상세 구역 배치 작업자 조회

해당 상세 구역에 배치된 작업자 목록을 조회합니다.


/staffing/zones/{zoneSubIdx}/workers

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/staffing/zones/{zoneSubIdx}/workers?rosterDate="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.StaffingApi;

import java.io.File;
import java.util.*;

public class StaffingApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        StaffingApi apiInstance = new StaffingApi();
         zoneSubIdx = ; //  | 상세 구역 ID
         rosterDate = ; //  | 명단 기준 일자
        try {
            BaseResponseListAssignedWorkerRes result = apiInstance.getAssignedWorkers(zoneSubIdx, rosterDate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling StaffingApi#getAssignedWorkers");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.StaffingApi;

public class StaffingApiExample {

    public static void main(String[] args) {
        StaffingApi apiInstance = new StaffingApi();
         zoneSubIdx = ; //  | 상세 구역 ID
         rosterDate = ; //  | 명단 기준 일자
        try {
            BaseResponseListAssignedWorkerRes result = apiInstance.getAssignedWorkers(zoneSubIdx, rosterDate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling StaffingApi#getAssignedWorkers");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *zoneSubIdx = ; // 상세 구역 ID
 *rosterDate = ; // 명단 기준 일자 (optional)

StaffingApi *apiInstance = [[StaffingApi alloc] init];

// 상세 구역 배치 작업자 조회
[apiInstance getAssignedWorkersWith:zoneSubIdx
    rosterDate:rosterDate
              completionHandler: ^(BaseResponseListAssignedWorkerRes output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.StaffingApi()
var zoneSubIdx = ; // {{}} 상세 구역 ID
var opts = { 
  'rosterDate':  // {{}} 명단 기준 일자
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getAssignedWorkers(zoneSubIdx, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getAssignedWorkersExample
    {
        public void main()
        {


            var apiInstance = new StaffingApi();
            var zoneSubIdx = new (); //  | 상세 구역 ID
            var rosterDate = new (); //  | 명단 기준 일자 (optional) 

            try
            {
                // 상세 구역 배치 작업자 조회
                BaseResponseListAssignedWorkerRes result = apiInstance.getAssignedWorkers(zoneSubIdx, rosterDate);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling StaffingApi.getAssignedWorkers: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiStaffingApi();
$zoneSubIdx = ; //  | 상세 구역 ID
$rosterDate = ; //  | 명단 기준 일자

try {
    $result = $api_instance->getAssignedWorkers($zoneSubIdx, $rosterDate);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling StaffingApi->getAssignedWorkers: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::StaffingApi;


my $api_instance = WWW::SwaggerClient::StaffingApi->new();
my $zoneSubIdx = ; #  | 상세 구역 ID
my $rosterDate = ; #  | 명단 기준 일자

eval { 
    my $result = $api_instance->getAssignedWorkers(zoneSubIdx => $zoneSubIdx, rosterDate => $rosterDate);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling StaffingApi->getAssignedWorkers: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.StaffingApi()
zoneSubIdx =  #  | 상세 구역 ID
rosterDate =  #  | 명단 기준 일자 (optional)

try: 
    # 상세 구역 배치 작업자 조회
    api_response = api_instance.get_assigned_workers(zoneSubIdx, rosterDate=rosterDate)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling StaffingApi->getAssignedWorkers: %s\n" % e)

Parameters

Path parameters
Name Description
zoneSubIdx*
(int64)
상세 구역 ID
Required
Query parameters
Name Description
rosterDate
(date)
명단 기준 일자

Responses

Status: 200 - 조회 성공


getBoard

인력 배치 보드 조회

구역 트리, 직종별 필요 인원, 배치 작업자 정보를 한 번에 조회합니다.


/staffing/board

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/staffing/board?siteCode=&rosterDate="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.StaffingApi;

import java.io.File;
import java.util.*;

public class StaffingApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        StaffingApi apiInstance = new StaffingApi();
         siteCode = ; //  | 현장 코드
         rosterDate = ; //  | 명단 기준 일자
        try {
            BaseResponseBoardRes result = apiInstance.getBoard(siteCode, rosterDate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling StaffingApi#getBoard");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.StaffingApi;

public class StaffingApiExample {

    public static void main(String[] args) {
        StaffingApi apiInstance = new StaffingApi();
         siteCode = ; //  | 현장 코드
         rosterDate = ; //  | 명단 기준 일자
        try {
            BaseResponseBoardRes result = apiInstance.getBoard(siteCode, rosterDate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling StaffingApi#getBoard");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *siteCode = ; // 현장 코드 (optional)
 *rosterDate = ; // 명단 기준 일자 (optional)

StaffingApi *apiInstance = [[StaffingApi alloc] init];

// 인력 배치 보드 조회
[apiInstance getBoardWith:siteCode
    rosterDate:rosterDate
              completionHandler: ^(BaseResponseBoardRes output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.StaffingApi()
var opts = { 
  'siteCode': , // {{}} 현장 코드
  'rosterDate':  // {{}} 명단 기준 일자
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getBoard(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getBoardExample
    {
        public void main()
        {


            var apiInstance = new StaffingApi();
            var siteCode = new (); //  | 현장 코드 (optional) 
            var rosterDate = new (); //  | 명단 기준 일자 (optional) 

            try
            {
                // 인력 배치 보드 조회
                BaseResponseBoardRes result = apiInstance.getBoard(siteCode, rosterDate);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling StaffingApi.getBoard: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiStaffingApi();
$siteCode = ; //  | 현장 코드
$rosterDate = ; //  | 명단 기준 일자

try {
    $result = $api_instance->getBoard($siteCode, $rosterDate);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling StaffingApi->getBoard: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::StaffingApi;


my $api_instance = WWW::SwaggerClient::StaffingApi->new();
my $siteCode = ; #  | 현장 코드
my $rosterDate = ; #  | 명단 기준 일자

eval { 
    my $result = $api_instance->getBoard(siteCode => $siteCode, rosterDate => $rosterDate);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling StaffingApi->getBoard: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.StaffingApi()
siteCode =  #  | 현장 코드 (optional)
rosterDate =  #  | 명단 기준 일자 (optional)

try: 
    # 인력 배치 보드 조회
    api_response = api_instance.get_board(siteCode=siteCode, rosterDate=rosterDate)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling StaffingApi->getBoard: %s\n" % e)

Parameters

Query parameters
Name Description
siteCode
현장 코드
rosterDate
(date)
명단 기준 일자

Responses

Status: 200 - 조회 성공


getConfirmedWorkers

확정 배치 근무자 조회

확정 이력 기준으로 근무자 배치 결과를 조회합니다.


/staffing/logs

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/staffing/logs?siteCode=&rosterDate="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.StaffingApi;

import java.io.File;
import java.util.*;

public class StaffingApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        StaffingApi apiInstance = new StaffingApi();
         siteCode = ; //  | 현장 코드
         rosterDate = ; //  | 명단 기준 일자
        try {
            BaseResponseListConfirmedWorkerRes result = apiInstance.getConfirmedWorkers(siteCode, rosterDate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling StaffingApi#getConfirmedWorkers");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.StaffingApi;

public class StaffingApiExample {

    public static void main(String[] args) {
        StaffingApi apiInstance = new StaffingApi();
         siteCode = ; //  | 현장 코드
         rosterDate = ; //  | 명단 기준 일자
        try {
            BaseResponseListConfirmedWorkerRes result = apiInstance.getConfirmedWorkers(siteCode, rosterDate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling StaffingApi#getConfirmedWorkers");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *siteCode = ; // 현장 코드 (optional)
 *rosterDate = ; // 명단 기준 일자 (optional)

StaffingApi *apiInstance = [[StaffingApi alloc] init];

// 확정 배치 근무자 조회
[apiInstance getConfirmedWorkersWith:siteCode
    rosterDate:rosterDate
              completionHandler: ^(BaseResponseListConfirmedWorkerRes output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.StaffingApi()
var opts = { 
  'siteCode': , // {{}} 현장 코드
  'rosterDate':  // {{}} 명단 기준 일자
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getConfirmedWorkers(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getConfirmedWorkersExample
    {
        public void main()
        {


            var apiInstance = new StaffingApi();
            var siteCode = new (); //  | 현장 코드 (optional) 
            var rosterDate = new (); //  | 명단 기준 일자 (optional) 

            try
            {
                // 확정 배치 근무자 조회
                BaseResponseListConfirmedWorkerRes result = apiInstance.getConfirmedWorkers(siteCode, rosterDate);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling StaffingApi.getConfirmedWorkers: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiStaffingApi();
$siteCode = ; //  | 현장 코드
$rosterDate = ; //  | 명단 기준 일자

try {
    $result = $api_instance->getConfirmedWorkers($siteCode, $rosterDate);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling StaffingApi->getConfirmedWorkers: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::StaffingApi;


my $api_instance = WWW::SwaggerClient::StaffingApi->new();
my $siteCode = ; #  | 현장 코드
my $rosterDate = ; #  | 명단 기준 일자

eval { 
    my $result = $api_instance->getConfirmedWorkers(siteCode => $siteCode, rosterDate => $rosterDate);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling StaffingApi->getConfirmedWorkers: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.StaffingApi()
siteCode =  #  | 현장 코드 (optional)
rosterDate =  #  | 명단 기준 일자 (optional)

try: 
    # 확정 배치 근무자 조회
    api_response = api_instance.get_confirmed_workers(siteCode=siteCode, rosterDate=rosterDate)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling StaffingApi->getConfirmedWorkers: %s\n" % e)

Parameters

Query parameters
Name Description
siteCode
현장 코드
rosterDate
(date)
명단 기준 일자

Responses

Status: 200 - 조회 성공


getWorkerPool

작업자 현황 조회

현장, 소속, 키워드, 미배치 여부로 작업자 현황을 조회합니다.


/staffing/workers

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/staffing/workers?siteCode=&affiliationKind=&keyword=&unassignedOnly=&rosterDate="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.StaffingApi;

import java.io.File;
import java.util.*;

public class StaffingApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        StaffingApi apiInstance = new StaffingApi();
         siteCode = ; //  | 현장 코드
         affiliationKind = ; //  | 소속 구분
         keyword = ; //  | 이름 또는 협력사 검색어
         unassignedOnly = ; //  | 미배치 작업자만 조회 여부
         rosterDate = ; //  | 명단 기준 일자
        try {
            BaseResponseWorkerPoolRes result = apiInstance.getWorkerPool(siteCode, affiliationKind, keyword, unassignedOnly, rosterDate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling StaffingApi#getWorkerPool");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.StaffingApi;

public class StaffingApiExample {

    public static void main(String[] args) {
        StaffingApi apiInstance = new StaffingApi();
         siteCode = ; //  | 현장 코드
         affiliationKind = ; //  | 소속 구분
         keyword = ; //  | 이름 또는 협력사 검색어
         unassignedOnly = ; //  | 미배치 작업자만 조회 여부
         rosterDate = ; //  | 명단 기준 일자
        try {
            BaseResponseWorkerPoolRes result = apiInstance.getWorkerPool(siteCode, affiliationKind, keyword, unassignedOnly, rosterDate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling StaffingApi#getWorkerPool");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *siteCode = ; // 현장 코드 (optional)
 *affiliationKind = ; // 소속 구분 (optional)
 *keyword = ; // 이름 또는 협력사 검색어 (optional)
 *unassignedOnly = ; // 미배치 작업자만 조회 여부 (optional) (default to false)
 *rosterDate = ; // 명단 기준 일자 (optional)

StaffingApi *apiInstance = [[StaffingApi alloc] init];

// 작업자 현황 조회
[apiInstance getWorkerPoolWith:siteCode
    affiliationKind:affiliationKind
    keyword:keyword
    unassignedOnly:unassignedOnly
    rosterDate:rosterDate
              completionHandler: ^(BaseResponseWorkerPoolRes output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.StaffingApi()
var opts = { 
  'siteCode': , // {{}} 현장 코드
  'affiliationKind': , // {{}} 소속 구분
  'keyword': , // {{}} 이름 또는 협력사 검색어
  'unassignedOnly': , // {{}} 미배치 작업자만 조회 여부
  'rosterDate':  // {{}} 명단 기준 일자
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getWorkerPool(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getWorkerPoolExample
    {
        public void main()
        {


            var apiInstance = new StaffingApi();
            var siteCode = new (); //  | 현장 코드 (optional) 
            var affiliationKind = new (); //  | 소속 구분 (optional) 
            var keyword = new (); //  | 이름 또는 협력사 검색어 (optional) 
            var unassignedOnly = new (); //  | 미배치 작업자만 조회 여부 (optional)  (default to false)
            var rosterDate = new (); //  | 명단 기준 일자 (optional) 

            try
            {
                // 작업자 현황 조회
                BaseResponseWorkerPoolRes result = apiInstance.getWorkerPool(siteCode, affiliationKind, keyword, unassignedOnly, rosterDate);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling StaffingApi.getWorkerPool: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiStaffingApi();
$siteCode = ; //  | 현장 코드
$affiliationKind = ; //  | 소속 구분
$keyword = ; //  | 이름 또는 협력사 검색어
$unassignedOnly = ; //  | 미배치 작업자만 조회 여부
$rosterDate = ; //  | 명단 기준 일자

try {
    $result = $api_instance->getWorkerPool($siteCode, $affiliationKind, $keyword, $unassignedOnly, $rosterDate);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling StaffingApi->getWorkerPool: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::StaffingApi;


my $api_instance = WWW::SwaggerClient::StaffingApi->new();
my $siteCode = ; #  | 현장 코드
my $affiliationKind = ; #  | 소속 구분
my $keyword = ; #  | 이름 또는 협력사 검색어
my $unassignedOnly = ; #  | 미배치 작업자만 조회 여부
my $rosterDate = ; #  | 명단 기준 일자

eval { 
    my $result = $api_instance->getWorkerPool(siteCode => $siteCode, affiliationKind => $affiliationKind, keyword => $keyword, unassignedOnly => $unassignedOnly, rosterDate => $rosterDate);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling StaffingApi->getWorkerPool: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.StaffingApi()
siteCode =  #  | 현장 코드 (optional)
affiliationKind =  #  | 소속 구분 (optional)
keyword =  #  | 이름 또는 협력사 검색어 (optional)
unassignedOnly =  #  | 미배치 작업자만 조회 여부 (optional) (default to false)
rosterDate =  #  | 명단 기준 일자 (optional)

try: 
    # 작업자 현황 조회
    api_response = api_instance.get_worker_pool(siteCode=siteCode, affiliationKind=affiliationKind, keyword=keyword, unassignedOnly=unassignedOnly, rosterDate=rosterDate)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling StaffingApi->getWorkerPool: %s\n" % e)

Parameters

Query parameters
Name Description
siteCode
현장 코드
affiliationKind
소속 구분
keyword
이름 또는 협력사 검색어
unassignedOnly
미배치 작업자만 조회 여부
rosterDate
(date)
명단 기준 일자

Responses

Status: 200 - 조회 성공


getZoneSub

상세 구역 정보 조회

상세 구역의 요약 정보와 직종별 필요/충원 정보를 조회합니다.


/staffing/zones/{zoneSubIdx}

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/staffing/zones/{zoneSubIdx}?rosterDate="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.StaffingApi;

import java.io.File;
import java.util.*;

public class StaffingApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        StaffingApi apiInstance = new StaffingApi();
         zoneSubIdx = ; //  | 상세 구역 ID
         rosterDate = ; //  | 명단 기준 일자
        try {
            BaseResponseZoneSubRes result = apiInstance.getZoneSub(zoneSubIdx, rosterDate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling StaffingApi#getZoneSub");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.StaffingApi;

public class StaffingApiExample {

    public static void main(String[] args) {
        StaffingApi apiInstance = new StaffingApi();
         zoneSubIdx = ; //  | 상세 구역 ID
         rosterDate = ; //  | 명단 기준 일자
        try {
            BaseResponseZoneSubRes result = apiInstance.getZoneSub(zoneSubIdx, rosterDate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling StaffingApi#getZoneSub");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *zoneSubIdx = ; // 상세 구역 ID
 *rosterDate = ; // 명단 기준 일자 (optional)

StaffingApi *apiInstance = [[StaffingApi alloc] init];

// 상세 구역 정보 조회
[apiInstance getZoneSubWith:zoneSubIdx
    rosterDate:rosterDate
              completionHandler: ^(BaseResponseZoneSubRes output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.StaffingApi()
var zoneSubIdx = ; // {{}} 상세 구역 ID
var opts = { 
  'rosterDate':  // {{}} 명단 기준 일자
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getZoneSub(zoneSubIdx, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getZoneSubExample
    {
        public void main()
        {


            var apiInstance = new StaffingApi();
            var zoneSubIdx = new (); //  | 상세 구역 ID
            var rosterDate = new (); //  | 명단 기준 일자 (optional) 

            try
            {
                // 상세 구역 정보 조회
                BaseResponseZoneSubRes result = apiInstance.getZoneSub(zoneSubIdx, rosterDate);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling StaffingApi.getZoneSub: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiStaffingApi();
$zoneSubIdx = ; //  | 상세 구역 ID
$rosterDate = ; //  | 명단 기준 일자

try {
    $result = $api_instance->getZoneSub($zoneSubIdx, $rosterDate);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling StaffingApi->getZoneSub: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::StaffingApi;


my $api_instance = WWW::SwaggerClient::StaffingApi->new();
my $zoneSubIdx = ; #  | 상세 구역 ID
my $rosterDate = ; #  | 명단 기준 일자

eval { 
    my $result = $api_instance->getZoneSub(zoneSubIdx => $zoneSubIdx, rosterDate => $rosterDate);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling StaffingApi->getZoneSub: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.StaffingApi()
zoneSubIdx =  #  | 상세 구역 ID
rosterDate =  #  | 명단 기준 일자 (optional)

try: 
    # 상세 구역 정보 조회
    api_response = api_instance.get_zone_sub(zoneSubIdx, rosterDate=rosterDate)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling StaffingApi->getZoneSub: %s\n" % e)

Parameters

Path parameters
Name Description
zoneSubIdx*
(int64)
상세 구역 ID
Required
Query parameters
Name Description
rosterDate
(date)
명단 기준 일자

Responses

Status: 200 - 조회 성공


getZones

기본 구역 정보 조회

현장 코드와 기준 일자로 인력 배치 기본 구역 트리를 조회합니다.


/staffing/zones

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/staffing/zones?siteCode=&rosterDate="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.StaffingApi;

import java.io.File;
import java.util.*;

public class StaffingApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        StaffingApi apiInstance = new StaffingApi();
         siteCode = ; //  | 현장 코드
         rosterDate = ; //  | 명단 기준 일자
        try {
            BaseResponseListZoneMainRes result = apiInstance.getZones(siteCode, rosterDate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling StaffingApi#getZones");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.StaffingApi;

public class StaffingApiExample {

    public static void main(String[] args) {
        StaffingApi apiInstance = new StaffingApi();
         siteCode = ; //  | 현장 코드
         rosterDate = ; //  | 명단 기준 일자
        try {
            BaseResponseListZoneMainRes result = apiInstance.getZones(siteCode, rosterDate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling StaffingApi#getZones");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *siteCode = ; // 현장 코드 (optional)
 *rosterDate = ; // 명단 기준 일자 (optional)

StaffingApi *apiInstance = [[StaffingApi alloc] init];

// 기본 구역 정보 조회
[apiInstance getZonesWith:siteCode
    rosterDate:rosterDate
              completionHandler: ^(BaseResponseListZoneMainRes output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.StaffingApi()
var opts = { 
  'siteCode': , // {{}} 현장 코드
  'rosterDate':  // {{}} 명단 기준 일자
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getZones(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getZonesExample
    {
        public void main()
        {


            var apiInstance = new StaffingApi();
            var siteCode = new (); //  | 현장 코드 (optional) 
            var rosterDate = new (); //  | 명단 기준 일자 (optional) 

            try
            {
                // 기본 구역 정보 조회
                BaseResponseListZoneMainRes result = apiInstance.getZones(siteCode, rosterDate);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling StaffingApi.getZones: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiStaffingApi();
$siteCode = ; //  | 현장 코드
$rosterDate = ; //  | 명단 기준 일자

try {
    $result = $api_instance->getZones($siteCode, $rosterDate);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling StaffingApi->getZones: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::StaffingApi;


my $api_instance = WWW::SwaggerClient::StaffingApi->new();
my $siteCode = ; #  | 현장 코드
my $rosterDate = ; #  | 명단 기준 일자

eval { 
    my $result = $api_instance->getZones(siteCode => $siteCode, rosterDate => $rosterDate);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling StaffingApi->getZones: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.StaffingApi()
siteCode =  #  | 현장 코드 (optional)
rosterDate =  #  | 명단 기준 일자 (optional)

try: 
    # 기본 구역 정보 조회
    api_response = api_instance.get_zones(siteCode=siteCode, rosterDate=rosterDate)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling StaffingApi->getZones: %s\n" % e)

Parameters

Query parameters
Name Description
siteCode
현장 코드
rosterDate
(date)
명단 기준 일자

Responses

Status: 200 - 조회 성공


patchZoneSub

상세 구역 수정

상세 구역 제목과 직종별 필요 인원을 수정합니다.


/staffing/zones/{zoneSubIdx}

Usage and SDK Samples

curl -X PATCH\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"http://192.100.200.111:8080/staffing/zones/{zoneSubIdx}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.StaffingApi;

import java.io.File;
import java.util.*;

public class StaffingApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        StaffingApi apiInstance = new StaffingApi();
        ZoneUpdateReq body = ; // ZoneUpdateReq | 
         zoneSubIdx = ; //  | 상세 구역 ID
        try {
            BaseResponseVoid result = apiInstance.patchZoneSub(body, zoneSubIdx);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling StaffingApi#patchZoneSub");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.StaffingApi;

public class StaffingApiExample {

    public static void main(String[] args) {
        StaffingApi apiInstance = new StaffingApi();
        ZoneUpdateReq body = ; // ZoneUpdateReq | 
         zoneSubIdx = ; //  | 상세 구역 ID
        try {
            BaseResponseVoid result = apiInstance.patchZoneSub(body, zoneSubIdx);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling StaffingApi#patchZoneSub");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
ZoneUpdateReq *body = ; // 
 *zoneSubIdx = ; // 상세 구역 ID

StaffingApi *apiInstance = [[StaffingApi alloc] init];

// 상세 구역 수정
[apiInstance patchZoneSubWith:body
    zoneSubIdx:zoneSubIdx
              completionHandler: ^(BaseResponseVoid output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.StaffingApi()
var body = ; // {{ZoneUpdateReq}} 
var zoneSubIdx = ; // {{}} 상세 구역 ID

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.patchZoneSub(bodyzoneSubIdx, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class patchZoneSubExample
    {
        public void main()
        {


            var apiInstance = new StaffingApi();
            var body = new ZoneUpdateReq(); // ZoneUpdateReq | 
            var zoneSubIdx = new (); //  | 상세 구역 ID

            try
            {
                // 상세 구역 수정
                BaseResponseVoid result = apiInstance.patchZoneSub(body, zoneSubIdx);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling StaffingApi.patchZoneSub: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiStaffingApi();
$body = ; // ZoneUpdateReq | 
$zoneSubIdx = ; //  | 상세 구역 ID

try {
    $result = $api_instance->patchZoneSub($body, $zoneSubIdx);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling StaffingApi->patchZoneSub: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::StaffingApi;


my $api_instance = WWW::SwaggerClient::StaffingApi->new();
my $body = WWW::SwaggerClient::Object::ZoneUpdateReq->new(); # ZoneUpdateReq | 
my $zoneSubIdx = ; #  | 상세 구역 ID

eval { 
    my $result = $api_instance->patchZoneSub(body => $body, zoneSubIdx => $zoneSubIdx);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling StaffingApi->patchZoneSub: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.StaffingApi()
body =  # ZoneUpdateReq | 
zoneSubIdx =  #  | 상세 구역 ID

try: 
    # 상세 구역 수정
    api_response = api_instance.patch_zone_sub(body, zoneSubIdx)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling StaffingApi->patchZoneSub: %s\n" % e)

Parameters

Path parameters
Name Description
zoneSubIdx*
(int64)
상세 구역 ID
Required
Body parameters
Name Description
body *

Responses

Status: 200 - 수정 성공


reset

인력 배치 초기화

기준 일자와 현장 기준으로 현재 배치를 초기화합니다.


/staffing/reset

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/staffing/reset?siteCode=&rosterDate="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.StaffingApi;

import java.io.File;
import java.util.*;

public class StaffingApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        StaffingApi apiInstance = new StaffingApi();
         siteCode = ; //  | 현장 코드
         rosterDate = ; //  | 명단 기준 일자
        try {
            BaseResponseVoid result = apiInstance.reset(siteCode, rosterDate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling StaffingApi#reset");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.StaffingApi;

public class StaffingApiExample {

    public static void main(String[] args) {
        StaffingApi apiInstance = new StaffingApi();
         siteCode = ; //  | 현장 코드
         rosterDate = ; //  | 명단 기준 일자
        try {
            BaseResponseVoid result = apiInstance.reset(siteCode, rosterDate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling StaffingApi#reset");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *siteCode = ; // 현장 코드 (optional)
 *rosterDate = ; // 명단 기준 일자 (optional)

StaffingApi *apiInstance = [[StaffingApi alloc] init];

// 인력 배치 초기화
[apiInstance resetWith:siteCode
    rosterDate:rosterDate
              completionHandler: ^(BaseResponseVoid output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.StaffingApi()
var opts = { 
  'siteCode': , // {{}} 현장 코드
  'rosterDate':  // {{}} 명단 기준 일자
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.reset(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class resetExample
    {
        public void main()
        {


            var apiInstance = new StaffingApi();
            var siteCode = new (); //  | 현장 코드 (optional) 
            var rosterDate = new (); //  | 명단 기준 일자 (optional) 

            try
            {
                // 인력 배치 초기화
                BaseResponseVoid result = apiInstance.reset(siteCode, rosterDate);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling StaffingApi.reset: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiStaffingApi();
$siteCode = ; //  | 현장 코드
$rosterDate = ; //  | 명단 기준 일자

try {
    $result = $api_instance->reset($siteCode, $rosterDate);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling StaffingApi->reset: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::StaffingApi;


my $api_instance = WWW::SwaggerClient::StaffingApi->new();
my $siteCode = ; #  | 현장 코드
my $rosterDate = ; #  | 명단 기준 일자

eval { 
    my $result = $api_instance->reset(siteCode => $siteCode, rosterDate => $rosterDate);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling StaffingApi->reset: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.StaffingApi()
siteCode =  #  | 현장 코드 (optional)
rosterDate =  #  | 명단 기준 일자 (optional)

try: 
    # 인력 배치 초기화
    api_response = api_instance.reset(siteCode=siteCode, rosterDate=rosterDate)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling StaffingApi->reset: %s\n" % e)

Parameters

Query parameters
Name Description
siteCode
현장 코드
rosterDate
(date)
명단 기준 일자

Responses

Status: 200 - 초기화 성공


savePlacements

최종 배치 확정

현재 배치 정보를 확정하여 확정 이력으로 저장합니다.


/staffing/save

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/staffing/save?siteCode=&rosterDate="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.StaffingApi;

import java.io.File;
import java.util.*;

public class StaffingApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        StaffingApi apiInstance = new StaffingApi();
         siteCode = ; //  | 현장 코드
         rosterDate = ; //  | 명단 기준 일자
        try {
            BaseResponseSaveSummaryRes result = apiInstance.savePlacements(siteCode, rosterDate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling StaffingApi#savePlacements");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.StaffingApi;

public class StaffingApiExample {

    public static void main(String[] args) {
        StaffingApi apiInstance = new StaffingApi();
         siteCode = ; //  | 현장 코드
         rosterDate = ; //  | 명단 기준 일자
        try {
            BaseResponseSaveSummaryRes result = apiInstance.savePlacements(siteCode, rosterDate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling StaffingApi#savePlacements");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *siteCode = ; // 현장 코드 (optional)
 *rosterDate = ; // 명단 기준 일자 (optional)

StaffingApi *apiInstance = [[StaffingApi alloc] init];

// 최종 배치 확정
[apiInstance savePlacementsWith:siteCode
    rosterDate:rosterDate
              completionHandler: ^(BaseResponseSaveSummaryRes output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.StaffingApi()
var opts = { 
  'siteCode': , // {{}} 현장 코드
  'rosterDate':  // {{}} 명단 기준 일자
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.savePlacements(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class savePlacementsExample
    {
        public void main()
        {


            var apiInstance = new StaffingApi();
            var siteCode = new (); //  | 현장 코드 (optional) 
            var rosterDate = new (); //  | 명단 기준 일자 (optional) 

            try
            {
                // 최종 배치 확정
                BaseResponseSaveSummaryRes result = apiInstance.savePlacements(siteCode, rosterDate);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling StaffingApi.savePlacements: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiStaffingApi();
$siteCode = ; //  | 현장 코드
$rosterDate = ; //  | 명단 기준 일자

try {
    $result = $api_instance->savePlacements($siteCode, $rosterDate);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling StaffingApi->savePlacements: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::StaffingApi;


my $api_instance = WWW::SwaggerClient::StaffingApi->new();
my $siteCode = ; #  | 현장 코드
my $rosterDate = ; #  | 명단 기준 일자

eval { 
    my $result = $api_instance->savePlacements(siteCode => $siteCode, rosterDate => $rosterDate);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling StaffingApi->savePlacements: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.StaffingApi()
siteCode =  #  | 현장 코드 (optional)
rosterDate =  #  | 명단 기준 일자 (optional)

try: 
    # 최종 배치 확정
    api_response = api_instance.save_placements(siteCode=siteCode, rosterDate=rosterDate)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling StaffingApi->savePlacements: %s\n" % e)

Parameters

Query parameters
Name Description
siteCode
현장 코드
rosterDate
(date)
명단 기준 일자

Responses

Status: 200 - 확정 저장 성공


unassignWorker

작업자 배치 해제

상세 구역에서 특정 작업자의 배치를 해제합니다.


/staffing/zones/{zoneSubIdx}/workers/{workerIdx}

Usage and SDK Samples

curl -X DELETE\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/staffing/zones/{zoneSubIdx}/workers/{workerIdx}?rosterDate="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.StaffingApi;

import java.io.File;
import java.util.*;

public class StaffingApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        StaffingApi apiInstance = new StaffingApi();
         zoneSubIdx = ; //  | 상세 구역 ID
         workerIdx = ; //  | 작업자 ID
         rosterDate = ; //  | 명단 기준 일자
        try {
            BaseResponseVoid result = apiInstance.unassignWorker(zoneSubIdx, workerIdx, rosterDate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling StaffingApi#unassignWorker");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.StaffingApi;

public class StaffingApiExample {

    public static void main(String[] args) {
        StaffingApi apiInstance = new StaffingApi();
         zoneSubIdx = ; //  | 상세 구역 ID
         workerIdx = ; //  | 작업자 ID
         rosterDate = ; //  | 명단 기준 일자
        try {
            BaseResponseVoid result = apiInstance.unassignWorker(zoneSubIdx, workerIdx, rosterDate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling StaffingApi#unassignWorker");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *zoneSubIdx = ; // 상세 구역 ID
 *workerIdx = ; // 작업자 ID
 *rosterDate = ; // 명단 기준 일자 (optional)

StaffingApi *apiInstance = [[StaffingApi alloc] init];

// 작업자 배치 해제
[apiInstance unassignWorkerWith:zoneSubIdx
    workerIdx:workerIdx
    rosterDate:rosterDate
              completionHandler: ^(BaseResponseVoid output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.StaffingApi()
var zoneSubIdx = ; // {{}} 상세 구역 ID
var workerIdx = ; // {{}} 작업자 ID
var opts = { 
  'rosterDate':  // {{}} 명단 기준 일자
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.unassignWorker(zoneSubIdx, workerIdx, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class unassignWorkerExample
    {
        public void main()
        {


            var apiInstance = new StaffingApi();
            var zoneSubIdx = new (); //  | 상세 구역 ID
            var workerIdx = new (); //  | 작업자 ID
            var rosterDate = new (); //  | 명단 기준 일자 (optional) 

            try
            {
                // 작업자 배치 해제
                BaseResponseVoid result = apiInstance.unassignWorker(zoneSubIdx, workerIdx, rosterDate);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling StaffingApi.unassignWorker: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiStaffingApi();
$zoneSubIdx = ; //  | 상세 구역 ID
$workerIdx = ; //  | 작업자 ID
$rosterDate = ; //  | 명단 기준 일자

try {
    $result = $api_instance->unassignWorker($zoneSubIdx, $workerIdx, $rosterDate);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling StaffingApi->unassignWorker: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::StaffingApi;


my $api_instance = WWW::SwaggerClient::StaffingApi->new();
my $zoneSubIdx = ; #  | 상세 구역 ID
my $workerIdx = ; #  | 작업자 ID
my $rosterDate = ; #  | 명단 기준 일자

eval { 
    my $result = $api_instance->unassignWorker(zoneSubIdx => $zoneSubIdx, workerIdx => $workerIdx, rosterDate => $rosterDate);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling StaffingApi->unassignWorker: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.StaffingApi()
zoneSubIdx =  #  | 상세 구역 ID
workerIdx =  #  | 작업자 ID
rosterDate =  #  | 명단 기준 일자 (optional)

try: 
    # 작업자 배치 해제
    api_response = api_instance.unassign_worker(zoneSubIdx, workerIdx, rosterDate=rosterDate)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling StaffingApi->unassignWorker: %s\n" % e)

Parameters

Path parameters
Name Description
zoneSubIdx*
(int64)
상세 구역 ID
Required
workerIdx*
(int64)
작업자 ID
Required
Query parameters
Name Description
rosterDate
(date)
명단 기준 일자

Responses

Status: 200 - 해제 성공


StaffingDummy

seedZones

구역 더미 데이터 적재

JSON 리소스를 읽어 인력 배치 구역 트리를 저장합니다.


/staffing/dummy/seed-zones

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/staffing/dummy/seed-zones?replaceExisting=&resource="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.StaffingDummyApi;

import java.io.File;
import java.util.*;

public class StaffingDummyApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        StaffingDummyApi apiInstance = new StaffingDummyApi();
         replaceExisting = ; //  | 기존 인력 배치 구역 데이터 교체 여부
         resource = ; //  | 적재할 JSON 리소스 경로
        try {
            BaseResponseStaffingZoneSeedRes result = apiInstance.seedZones(replaceExisting, resource);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling StaffingDummyApi#seedZones");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.StaffingDummyApi;

public class StaffingDummyApiExample {

    public static void main(String[] args) {
        StaffingDummyApi apiInstance = new StaffingDummyApi();
         replaceExisting = ; //  | 기존 인력 배치 구역 데이터 교체 여부
         resource = ; //  | 적재할 JSON 리소스 경로
        try {
            BaseResponseStaffingZoneSeedRes result = apiInstance.seedZones(replaceExisting, resource);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling StaffingDummyApi#seedZones");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *replaceExisting = ; // 기존 인력 배치 구역 데이터 교체 여부 (optional) (default to true)
 *resource = ; // 적재할 JSON 리소스 경로 (optional)

StaffingDummyApi *apiInstance = [[StaffingDummyApi alloc] init];

// 구역 더미 데이터 적재
[apiInstance seedZonesWith:replaceExisting
    resource:resource
              completionHandler: ^(BaseResponseStaffingZoneSeedRes output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.StaffingDummyApi()
var opts = { 
  'replaceExisting': , // {{}} 기존 인력 배치 구역 데이터 교체 여부
  'resource':  // {{}} 적재할 JSON 리소스 경로
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.seedZones(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class seedZonesExample
    {
        public void main()
        {


            var apiInstance = new StaffingDummyApi();
            var replaceExisting = new (); //  | 기존 인력 배치 구역 데이터 교체 여부 (optional)  (default to true)
            var resource = new (); //  | 적재할 JSON 리소스 경로 (optional) 

            try
            {
                // 구역 더미 데이터 적재
                BaseResponseStaffingZoneSeedRes result = apiInstance.seedZones(replaceExisting, resource);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling StaffingDummyApi.seedZones: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiStaffingDummyApi();
$replaceExisting = ; //  | 기존 인력 배치 구역 데이터 교체 여부
$resource = ; //  | 적재할 JSON 리소스 경로

try {
    $result = $api_instance->seedZones($replaceExisting, $resource);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling StaffingDummyApi->seedZones: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::StaffingDummyApi;


my $api_instance = WWW::SwaggerClient::StaffingDummyApi->new();
my $replaceExisting = ; #  | 기존 인력 배치 구역 데이터 교체 여부
my $resource = ; #  | 적재할 JSON 리소스 경로

eval { 
    my $result = $api_instance->seedZones(replaceExisting => $replaceExisting, resource => $resource);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling StaffingDummyApi->seedZones: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.StaffingDummyApi()
replaceExisting =  #  | 기존 인력 배치 구역 데이터 교체 여부 (optional) (default to true)
resource =  #  | 적재할 JSON 리소스 경로 (optional)

try: 
    # 구역 더미 데이터 적재
    api_response = api_instance.seed_zones(replaceExisting=replaceExisting, resource=resource)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling StaffingDummyApi->seedZones: %s\n" % e)

Parameters

Query parameters
Name Description
replaceExisting
기존 인력 배치 구역 데이터 교체 여부
resource
적재할 JSON 리소스 경로

Responses

Status: 200 - 적재 성공


TradeProcess

create1

공정 등록

공정을 등록합니다.


/trade-process

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"http://192.100.200.111:8080/trade-process"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TradeProcessApi;

import java.io.File;
import java.util.*;

public class TradeProcessApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        TradeProcessApi apiInstance = new TradeProcessApi();
        Req body = ; // Req | 
        try {
            apiInstance.create1(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling TradeProcessApi#create1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TradeProcessApi;

public class TradeProcessApiExample {

    public static void main(String[] args) {
        TradeProcessApi apiInstance = new TradeProcessApi();
        Req body = ; // Req | 
        try {
            apiInstance.create1(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling TradeProcessApi#create1");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
Req *body = ; // 

TradeProcessApi *apiInstance = [[TradeProcessApi alloc] init];

// 공정 등록
[apiInstance create1With:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.TradeProcessApi()
var body = ; // {{Req}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.create1(body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class create1Example
    {
        public void main()
        {


            var apiInstance = new TradeProcessApi();
            var body = new Req(); // Req | 

            try
            {
                // 공정 등록
                apiInstance.create1(body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TradeProcessApi.create1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiTradeProcessApi();
$body = ; // Req | 

try {
    $api_instance->create1($body);
} catch (Exception $e) {
    echo 'Exception when calling TradeProcessApi->create1: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TradeProcessApi;


my $api_instance = WWW::SwaggerClient::TradeProcessApi->new();
my $body = WWW::SwaggerClient::Object::Req->new(); # Req | 

eval { 
    $api_instance->create1(body => $body);
};
if ($@) {
    warn "Exception when calling TradeProcessApi->create1: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.TradeProcessApi()
body =  # Req | 

try: 
    # 공정 등록
    api_instance.create1(body)
except ApiException as e:
    print("Exception when calling TradeProcessApi->create1: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - 등록 성공

Status: 400 - 잘못된 요청

Status: 500 - 서버 오류


delete1

공정 삭제

공정을 삭제합니다.


/trade-process/{tpId}

Usage and SDK Samples

curl -X DELETE\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/trade-process/{tpId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TradeProcessApi;

import java.io.File;
import java.util.*;

public class TradeProcessApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        TradeProcessApi apiInstance = new TradeProcessApi();
         tpId = ; //  | 
        try {
            apiInstance.delete1(tpId);
        } catch (ApiException e) {
            System.err.println("Exception when calling TradeProcessApi#delete1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TradeProcessApi;

public class TradeProcessApiExample {

    public static void main(String[] args) {
        TradeProcessApi apiInstance = new TradeProcessApi();
         tpId = ; //  | 
        try {
            apiInstance.delete1(tpId);
        } catch (ApiException e) {
            System.err.println("Exception when calling TradeProcessApi#delete1");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *tpId = ; // 

TradeProcessApi *apiInstance = [[TradeProcessApi alloc] init];

// 공정 삭제
[apiInstance delete1With:tpId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.TradeProcessApi()
var tpId = ; // {{}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.delete1(tpId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class delete1Example
    {
        public void main()
        {


            var apiInstance = new TradeProcessApi();
            var tpId = new (); //  | 

            try
            {
                // 공정 삭제
                apiInstance.delete1(tpId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TradeProcessApi.delete1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiTradeProcessApi();
$tpId = ; //  | 

try {
    $api_instance->delete1($tpId);
} catch (Exception $e) {
    echo 'Exception when calling TradeProcessApi->delete1: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TradeProcessApi;


my $api_instance = WWW::SwaggerClient::TradeProcessApi->new();
my $tpId = ; #  | 

eval { 
    $api_instance->delete1(tpId => $tpId);
};
if ($@) {
    warn "Exception when calling TradeProcessApi->delete1: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.TradeProcessApi()
tpId =  #  | 

try: 
    # 공정 삭제
    api_instance.delete1(tpId)
except ApiException as e:
    print("Exception when calling TradeProcessApi->delete1: %s\n" % e)

Parameters

Path parameters
Name Description
tpId*
(int64)
Required

Responses

Status: 200 - 삭제 성공

Status: 404 - 대상을 찾을 수 없음

Status: 500 - 서버 오류


getMilestoneTradeNames

마일스톤 공종명 목록 조회

계정 생성 드롭다운용 마일스톤 공종명을 조회합니다.


/trade-process/milestone-trades

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/trade-process/milestone-trades?projectId="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TradeProcessApi;

import java.io.File;
import java.util.*;

public class TradeProcessApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        TradeProcessApi apiInstance = new TradeProcessApi();
         projectId = ; //  | 
        try {
            apiInstance.getMilestoneTradeNames(projectId);
        } catch (ApiException e) {
            System.err.println("Exception when calling TradeProcessApi#getMilestoneTradeNames");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TradeProcessApi;

public class TradeProcessApiExample {

    public static void main(String[] args) {
        TradeProcessApi apiInstance = new TradeProcessApi();
         projectId = ; //  | 
        try {
            apiInstance.getMilestoneTradeNames(projectId);
        } catch (ApiException e) {
            System.err.println("Exception when calling TradeProcessApi#getMilestoneTradeNames");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *projectId = ; // 

TradeProcessApi *apiInstance = [[TradeProcessApi alloc] init];

// 마일스톤 공종명 목록 조회
[apiInstance getMilestoneTradeNamesWith:projectId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.TradeProcessApi()
var projectId = ; // {{}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.getMilestoneTradeNames(projectId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getMilestoneTradeNamesExample
    {
        public void main()
        {


            var apiInstance = new TradeProcessApi();
            var projectId = new (); //  | 

            try
            {
                // 마일스톤 공종명 목록 조회
                apiInstance.getMilestoneTradeNames(projectId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TradeProcessApi.getMilestoneTradeNames: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiTradeProcessApi();
$projectId = ; //  | 

try {
    $api_instance->getMilestoneTradeNames($projectId);
} catch (Exception $e) {
    echo 'Exception when calling TradeProcessApi->getMilestoneTradeNames: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TradeProcessApi;


my $api_instance = WWW::SwaggerClient::TradeProcessApi->new();
my $projectId = ; #  | 

eval { 
    $api_instance->getMilestoneTradeNames(projectId => $projectId);
};
if ($@) {
    warn "Exception when calling TradeProcessApi->getMilestoneTradeNames: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.TradeProcessApi()
projectId =  #  | 

try: 
    # 마일스톤 공종명 목록 조회
    api_instance.get_milestone_trade_names(projectId)
except ApiException as e:
    print("Exception when calling TradeProcessApi->getMilestoneTradeNames: %s\n" % e)

Parameters

Query parameters
Name Description
projectId*
(int64)
Required

Responses

Status: 200 - 조회 성공

Status: 500 - 서버 오류


list1

공정 목록 조회

현장별 공정 목록을 조회합니다.


/trade-process

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/trade-process?projectId=&tradeName=&includeAllTrades="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TradeProcessApi;

import java.io.File;
import java.util.*;

public class TradeProcessApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        TradeProcessApi apiInstance = new TradeProcessApi();
         projectId = ; //  | 프로젝트 ID
         tradeName = ; //  | 공종명 필터
         includeAllTrades = ; //  | 전체 공종 포함 여부
        try {
            apiInstance.list1(projectId, tradeName, includeAllTrades);
        } catch (ApiException e) {
            System.err.println("Exception when calling TradeProcessApi#list1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TradeProcessApi;

public class TradeProcessApiExample {

    public static void main(String[] args) {
        TradeProcessApi apiInstance = new TradeProcessApi();
         projectId = ; //  | 프로젝트 ID
         tradeName = ; //  | 공종명 필터
         includeAllTrades = ; //  | 전체 공종 포함 여부
        try {
            apiInstance.list1(projectId, tradeName, includeAllTrades);
        } catch (ApiException e) {
            System.err.println("Exception when calling TradeProcessApi#list1");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *projectId = ; // 프로젝트 ID
 *tradeName = ; // 공종명 필터 (optional)
 *includeAllTrades = ; // 전체 공종 포함 여부 (optional) (default to false)

TradeProcessApi *apiInstance = [[TradeProcessApi alloc] init];

// 공정 목록 조회
[apiInstance list1With:projectId
    tradeName:tradeName
    includeAllTrades:includeAllTrades
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.TradeProcessApi()
var projectId = ; // {{}} 프로젝트 ID
var opts = { 
  'tradeName': , // {{}} 공종명 필터
  'includeAllTrades':  // {{}} 전체 공종 포함 여부
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.list1(projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class list1Example
    {
        public void main()
        {


            var apiInstance = new TradeProcessApi();
            var projectId = new (); //  | 프로젝트 ID
            var tradeName = new (); //  | 공종명 필터 (optional) 
            var includeAllTrades = new (); //  | 전체 공종 포함 여부 (optional)  (default to false)

            try
            {
                // 공정 목록 조회
                apiInstance.list1(projectId, tradeName, includeAllTrades);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TradeProcessApi.list1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiTradeProcessApi();
$projectId = ; //  | 프로젝트 ID
$tradeName = ; //  | 공종명 필터
$includeAllTrades = ; //  | 전체 공종 포함 여부

try {
    $api_instance->list1($projectId, $tradeName, $includeAllTrades);
} catch (Exception $e) {
    echo 'Exception when calling TradeProcessApi->list1: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TradeProcessApi;


my $api_instance = WWW::SwaggerClient::TradeProcessApi->new();
my $projectId = ; #  | 프로젝트 ID
my $tradeName = ; #  | 공종명 필터
my $includeAllTrades = ; #  | 전체 공종 포함 여부

eval { 
    $api_instance->list1(projectId => $projectId, tradeName => $tradeName, includeAllTrades => $includeAllTrades);
};
if ($@) {
    warn "Exception when calling TradeProcessApi->list1: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.TradeProcessApi()
projectId =  #  | 프로젝트 ID
tradeName =  #  | 공종명 필터 (optional)
includeAllTrades =  #  | 전체 공종 포함 여부 (optional) (default to false)

try: 
    # 공정 목록 조회
    api_instance.list1(projectId, tradeName=tradeName, includeAllTrades=includeAllTrades)
except ApiException as e:
    print("Exception when calling TradeProcessApi->list1: %s\n" % e)

Parameters

Query parameters
Name Description
projectId*
(int64)
프로젝트 ID
Required
tradeName
공종명 필터
includeAllTrades
전체 공종 포함 여부

Responses

Status: 200 - 조회 성공

Status: 500 - 서버 오류


listBySchedule

공정표별 공정 목록 조회

공정표 기준 공정 목록을 조회합니다.


/trade-process/by-schedule/{scheduleId}

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/trade-process/by-schedule/{scheduleId}?includeAllTrades="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TradeProcessApi;

import java.io.File;
import java.util.*;

public class TradeProcessApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        TradeProcessApi apiInstance = new TradeProcessApi();
         scheduleId = ; //  | 공정표 ID
         includeAllTrades = ; //  | 전체 공종 포함 여부
        try {
            apiInstance.listBySchedule(scheduleId, includeAllTrades);
        } catch (ApiException e) {
            System.err.println("Exception when calling TradeProcessApi#listBySchedule");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TradeProcessApi;

public class TradeProcessApiExample {

    public static void main(String[] args) {
        TradeProcessApi apiInstance = new TradeProcessApi();
         scheduleId = ; //  | 공정표 ID
         includeAllTrades = ; //  | 전체 공종 포함 여부
        try {
            apiInstance.listBySchedule(scheduleId, includeAllTrades);
        } catch (ApiException e) {
            System.err.println("Exception when calling TradeProcessApi#listBySchedule");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *scheduleId = ; // 공정표 ID
 *includeAllTrades = ; // 전체 공종 포함 여부 (optional) (default to false)

TradeProcessApi *apiInstance = [[TradeProcessApi alloc] init];

// 공정표별 공정 목록 조회
[apiInstance listByScheduleWith:scheduleId
    includeAllTrades:includeAllTrades
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.TradeProcessApi()
var scheduleId = ; // {{}} 공정표 ID
var opts = { 
  'includeAllTrades':  // {{}} 전체 공종 포함 여부
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.listBySchedule(scheduleId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class listByScheduleExample
    {
        public void main()
        {


            var apiInstance = new TradeProcessApi();
            var scheduleId = new (); //  | 공정표 ID
            var includeAllTrades = new (); //  | 전체 공종 포함 여부 (optional)  (default to false)

            try
            {
                // 공정표별 공정 목록 조회
                apiInstance.listBySchedule(scheduleId, includeAllTrades);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TradeProcessApi.listBySchedule: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiTradeProcessApi();
$scheduleId = ; //  | 공정표 ID
$includeAllTrades = ; //  | 전체 공종 포함 여부

try {
    $api_instance->listBySchedule($scheduleId, $includeAllTrades);
} catch (Exception $e) {
    echo 'Exception when calling TradeProcessApi->listBySchedule: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TradeProcessApi;


my $api_instance = WWW::SwaggerClient::TradeProcessApi->new();
my $scheduleId = ; #  | 공정표 ID
my $includeAllTrades = ; #  | 전체 공종 포함 여부

eval { 
    $api_instance->listBySchedule(scheduleId => $scheduleId, includeAllTrades => $includeAllTrades);
};
if ($@) {
    warn "Exception when calling TradeProcessApi->listBySchedule: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.TradeProcessApi()
scheduleId =  #  | 공정표 ID
includeAllTrades =  #  | 전체 공종 포함 여부 (optional) (default to false)

try: 
    # 공정표별 공정 목록 조회
    api_instance.list_by_schedule(scheduleId, includeAllTrades=includeAllTrades)
except ApiException as e:
    print("Exception when calling TradeProcessApi->listBySchedule: %s\n" % e)

Parameters

Path parameters
Name Description
scheduleId*
(int64)
공정표 ID
Required
Query parameters
Name Description
includeAllTrades
전체 공종 포함 여부

Responses

Status: 200 - 조회 성공

Status: 500 - 서버 오류


read1

공정 단건 조회

공정 ID로 단건 정보를 조회합니다.


/trade-process/{tpId}

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/trade-process/{tpId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TradeProcessApi;

import java.io.File;
import java.util.*;

public class TradeProcessApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        TradeProcessApi apiInstance = new TradeProcessApi();
         tpId = ; //  | 
        try {
            Res result = apiInstance.read1(tpId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TradeProcessApi#read1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TradeProcessApi;

public class TradeProcessApiExample {

    public static void main(String[] args) {
        TradeProcessApi apiInstance = new TradeProcessApi();
         tpId = ; //  | 
        try {
            Res result = apiInstance.read1(tpId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TradeProcessApi#read1");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *tpId = ; // 

TradeProcessApi *apiInstance = [[TradeProcessApi alloc] init];

// 공정 단건 조회
[apiInstance read1With:tpId
              completionHandler: ^(Res output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.TradeProcessApi()
var tpId = ; // {{}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.read1(tpId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class read1Example
    {
        public void main()
        {


            var apiInstance = new TradeProcessApi();
            var tpId = new (); //  | 

            try
            {
                // 공정 단건 조회
                Res result = apiInstance.read1(tpId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TradeProcessApi.read1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiTradeProcessApi();
$tpId = ; //  | 

try {
    $result = $api_instance->read1($tpId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TradeProcessApi->read1: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TradeProcessApi;


my $api_instance = WWW::SwaggerClient::TradeProcessApi->new();
my $tpId = ; #  | 

eval { 
    my $result = $api_instance->read1(tpId => $tpId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TradeProcessApi->read1: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.TradeProcessApi()
tpId =  #  | 

try: 
    # 공정 단건 조회
    api_response = api_instance.read1(tpId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TradeProcessApi->read1: %s\n" % e)

Parameters

Path parameters
Name Description
tpId*
(int64)
Required

Responses

Status: 200 - 조회 성공

Status: 404 - 대상을 찾을 수 없음

Status: 500 - 서버 오류


update1

공정 수정

공정 정보를 수정합니다.


/trade-process/{tpId}

Usage and SDK Samples

curl -X PUT\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"http://192.100.200.111:8080/trade-process/{tpId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TradeProcessApi;

import java.io.File;
import java.util.*;

public class TradeProcessApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        TradeProcessApi apiInstance = new TradeProcessApi();
        Req body = ; // Req | 
         tpId = ; //  | 공정 ID
        try {
            apiInstance.update1(body, tpId);
        } catch (ApiException e) {
            System.err.println("Exception when calling TradeProcessApi#update1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TradeProcessApi;

public class TradeProcessApiExample {

    public static void main(String[] args) {
        TradeProcessApi apiInstance = new TradeProcessApi();
        Req body = ; // Req | 
         tpId = ; //  | 공정 ID
        try {
            apiInstance.update1(body, tpId);
        } catch (ApiException e) {
            System.err.println("Exception when calling TradeProcessApi#update1");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
Req *body = ; // 
 *tpId = ; // 공정 ID

TradeProcessApi *apiInstance = [[TradeProcessApi alloc] init];

// 공정 수정
[apiInstance update1With:body
    tpId:tpId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.TradeProcessApi()
var body = ; // {{Req}} 
var tpId = ; // {{}} 공정 ID

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.update1(bodytpId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class update1Example
    {
        public void main()
        {


            var apiInstance = new TradeProcessApi();
            var body = new Req(); // Req | 
            var tpId = new (); //  | 공정 ID

            try
            {
                // 공정 수정
                apiInstance.update1(body, tpId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TradeProcessApi.update1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiTradeProcessApi();
$body = ; // Req | 
$tpId = ; //  | 공정 ID

try {
    $api_instance->update1($body, $tpId);
} catch (Exception $e) {
    echo 'Exception when calling TradeProcessApi->update1: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TradeProcessApi;


my $api_instance = WWW::SwaggerClient::TradeProcessApi->new();
my $body = WWW::SwaggerClient::Object::Req->new(); # Req | 
my $tpId = ; #  | 공정 ID

eval { 
    $api_instance->update1(body => $body, tpId => $tpId);
};
if ($@) {
    warn "Exception when calling TradeProcessApi->update1: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.TradeProcessApi()
body =  # Req | 
tpId =  #  | 공정 ID

try: 
    # 공정 수정
    api_instance.update1(body, tpId)
except ApiException as e:
    print("Exception when calling TradeProcessApi->update1: %s\n" % e)

Parameters

Path parameters
Name Description
tpId*
(int64)
공정 ID
Required
Body parameters
Name Description
body *

Responses

Status: 200 - 수정 성공

Status: 400 - 잘못된 요청

Status: 404 - 대상을 찾을 수 없음

Status: 500 - 서버 오류


Weather

readDashboard

대시보드 날씨 정보 조회

기준 일자의 날씨 대시보드 정보를 조회합니다.


/weather/dashboard

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/weather/dashboard?reportDate="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.WeatherApi;

import java.io.File;
import java.util.*;

public class WeatherApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        WeatherApi apiInstance = new WeatherApi();
         reportDate = ; //  | 조회 기준 일자
        try {
            DashboardRes result = apiInstance.readDashboard(reportDate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WeatherApi#readDashboard");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.WeatherApi;

public class WeatherApiExample {

    public static void main(String[] args) {
        WeatherApi apiInstance = new WeatherApi();
         reportDate = ; //  | 조회 기준 일자
        try {
            DashboardRes result = apiInstance.readDashboard(reportDate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WeatherApi#readDashboard");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *reportDate = ; // 조회 기준 일자 (optional)

WeatherApi *apiInstance = [[WeatherApi alloc] init];

// 대시보드 날씨 정보 조회
[apiInstance readDashboardWith:reportDate
              completionHandler: ^(DashboardRes output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.WeatherApi()
var opts = { 
  'reportDate':  // {{}} 조회 기준 일자
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.readDashboard(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class readDashboardExample
    {
        public void main()
        {


            var apiInstance = new WeatherApi();
            var reportDate = new (); //  | 조회 기준 일자 (optional) 

            try
            {
                // 대시보드 날씨 정보 조회
                DashboardRes result = apiInstance.readDashboard(reportDate);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WeatherApi.readDashboard: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiWeatherApi();
$reportDate = ; //  | 조회 기준 일자

try {
    $result = $api_instance->readDashboard($reportDate);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling WeatherApi->readDashboard: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::WeatherApi;


my $api_instance = WWW::SwaggerClient::WeatherApi->new();
my $reportDate = ; #  | 조회 기준 일자

eval { 
    my $result = $api_instance->readDashboard(reportDate => $reportDate);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling WeatherApi->readDashboard: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.WeatherApi()
reportDate =  #  | 조회 기준 일자 (optional)

try: 
    # 대시보드 날씨 정보 조회
    api_response = api_instance.read_dashboard(reportDate=reportDate)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling WeatherApi->readDashboard: %s\n" % e)

Parameters

Query parameters
Name Description
reportDate
(date)
조회 기준 일자

Responses

Status: 200 - 조회 성공


readToday

당일 간단 날씨 정보 조회

기준 일자의 오전/오후/요약 날씨 정보를 조회합니다.


/weather/today

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/weather/today?reportDate="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.WeatherApi;

import java.io.File;
import java.util.*;

public class WeatherApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        WeatherApi apiInstance = new WeatherApi();
         reportDate = ; //  | 조회 기준 일자
        try {
            BaseResponseTodaySimpleRes result = apiInstance.readToday(reportDate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WeatherApi#readToday");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.WeatherApi;

public class WeatherApiExample {

    public static void main(String[] args) {
        WeatherApi apiInstance = new WeatherApi();
         reportDate = ; //  | 조회 기준 일자
        try {
            BaseResponseTodaySimpleRes result = apiInstance.readToday(reportDate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WeatherApi#readToday");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *reportDate = ; // 조회 기준 일자 (optional)

WeatherApi *apiInstance = [[WeatherApi alloc] init];

// 당일 간단 날씨 정보 조회
[apiInstance readTodayWith:reportDate
              completionHandler: ^(BaseResponseTodaySimpleRes output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.WeatherApi()
var opts = { 
  'reportDate':  // {{}} 조회 기준 일자
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.readToday(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class readTodayExample
    {
        public void main()
        {


            var apiInstance = new WeatherApi();
            var reportDate = new (); //  | 조회 기준 일자 (optional) 

            try
            {
                // 당일 간단 날씨 정보 조회
                BaseResponseTodaySimpleRes result = apiInstance.readToday(reportDate);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WeatherApi.readToday: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiWeatherApi();
$reportDate = ; //  | 조회 기준 일자

try {
    $result = $api_instance->readToday($reportDate);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling WeatherApi->readToday: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::WeatherApi;


my $api_instance = WWW::SwaggerClient::WeatherApi->new();
my $reportDate = ; #  | 조회 기준 일자

eval { 
    my $result = $api_instance->readToday(reportDate => $reportDate);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling WeatherApi->readToday: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.WeatherApi()
reportDate =  #  | 조회 기준 일자 (optional)

try: 
    # 당일 간단 날씨 정보 조회
    api_response = api_instance.read_today(reportDate=reportDate)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling WeatherApi->readToday: %s\n" % e)

Parameters

Query parameters
Name Description
reportDate
(date)
조회 기준 일자

Responses

Status: 200 - 조회 성공


WorkOrder

approveWorkOrder

작업 지시서 승인

작업 지시서를 승인하고 주간 계획에 반영합니다.


/work-order/{id}/approve

Usage and SDK Samples

curl -X PUT\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/work-order/{id}/approve"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.WorkOrderApi;

import java.io.File;
import java.util.*;

public class WorkOrderApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        WorkOrderApi apiInstance = new WorkOrderApi();
         id = ; //  | 작업 지시서 ID
        try {
            apiInstance.approveWorkOrder(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkOrderApi#approveWorkOrder");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.WorkOrderApi;

public class WorkOrderApiExample {

    public static void main(String[] args) {
        WorkOrderApi apiInstance = new WorkOrderApi();
         id = ; //  | 작업 지시서 ID
        try {
            apiInstance.approveWorkOrder(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkOrderApi#approveWorkOrder");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *id = ; // 작업 지시서 ID

WorkOrderApi *apiInstance = [[WorkOrderApi alloc] init];

// 작업 지시서 승인
[apiInstance approveWorkOrderWith:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.WorkOrderApi()
var id = ; // {{}} 작업 지시서 ID

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.approveWorkOrder(id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class approveWorkOrderExample
    {
        public void main()
        {


            var apiInstance = new WorkOrderApi();
            var id = new (); //  | 작업 지시서 ID

            try
            {
                // 작업 지시서 승인
                apiInstance.approveWorkOrder(id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WorkOrderApi.approveWorkOrder: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiWorkOrderApi();
$id = ; //  | 작업 지시서 ID

try {
    $api_instance->approveWorkOrder($id);
} catch (Exception $e) {
    echo 'Exception when calling WorkOrderApi->approveWorkOrder: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::WorkOrderApi;


my $api_instance = WWW::SwaggerClient::WorkOrderApi->new();
my $id = ; #  | 작업 지시서 ID

eval { 
    $api_instance->approveWorkOrder(id => $id);
};
if ($@) {
    warn "Exception when calling WorkOrderApi->approveWorkOrder: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.WorkOrderApi()
id =  #  | 작업 지시서 ID

try: 
    # 작업 지시서 승인
    api_instance.approve_work_order(id)
except ApiException as e:
    print("Exception when calling WorkOrderApi->approveWorkOrder: %s\n" % e)

Parameters

Path parameters
Name Description
id*
(int64)
작업 지시서 ID
Required

Responses

Status: 200 - 승인 성공


createWorkOrder

작업 지시서 생성

새로운 작업 지시서를 생성합니다.


/work-order

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"http://192.100.200.111:8080/work-order"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.WorkOrderApi;

import java.io.File;
import java.util.*;

public class WorkOrderApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        WorkOrderApi apiInstance = new WorkOrderApi();
        Req body = ; // Req | 
        try {
            apiInstance.createWorkOrder(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkOrderApi#createWorkOrder");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.WorkOrderApi;

public class WorkOrderApiExample {

    public static void main(String[] args) {
        WorkOrderApi apiInstance = new WorkOrderApi();
        Req body = ; // Req | 
        try {
            apiInstance.createWorkOrder(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkOrderApi#createWorkOrder");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
Req *body = ; // 

WorkOrderApi *apiInstance = [[WorkOrderApi alloc] init];

// 작업 지시서 생성
[apiInstance createWorkOrderWith:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.WorkOrderApi()
var body = ; // {{Req}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.createWorkOrder(body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class createWorkOrderExample
    {
        public void main()
        {


            var apiInstance = new WorkOrderApi();
            var body = new Req(); // Req | 

            try
            {
                // 작업 지시서 생성
                apiInstance.createWorkOrder(body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WorkOrderApi.createWorkOrder: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiWorkOrderApi();
$body = ; // Req | 

try {
    $api_instance->createWorkOrder($body);
} catch (Exception $e) {
    echo 'Exception when calling WorkOrderApi->createWorkOrder: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::WorkOrderApi;


my $api_instance = WWW::SwaggerClient::WorkOrderApi->new();
my $body = WWW::SwaggerClient::Object::Req->new(); # Req | 

eval { 
    $api_instance->createWorkOrder(body => $body);
};
if ($@) {
    warn "Exception when calling WorkOrderApi->createWorkOrder: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.WorkOrderApi()
body =  # Req | 

try: 
    # 작업 지시서 생성
    api_instance.create_work_order(body)
except ApiException as e:
    print("Exception when calling WorkOrderApi->createWorkOrder: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - 생성 성공


getDraftEquipments

초안 장비 조회

주간 계획의 예정 장비 목록을 조회합니다.


/work-order/draft-equipments/{planIdx}

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/work-order/draft-equipments/{planIdx}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.WorkOrderApi;

import java.io.File;
import java.util.*;

public class WorkOrderApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        WorkOrderApi apiInstance = new WorkOrderApi();
         planIdx = ; //  | 작업 계획 ID
        try {
            apiInstance.getDraftEquipments(planIdx);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkOrderApi#getDraftEquipments");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.WorkOrderApi;

public class WorkOrderApiExample {

    public static void main(String[] args) {
        WorkOrderApi apiInstance = new WorkOrderApi();
         planIdx = ; //  | 작업 계획 ID
        try {
            apiInstance.getDraftEquipments(planIdx);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkOrderApi#getDraftEquipments");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *planIdx = ; // 작업 계획 ID

WorkOrderApi *apiInstance = [[WorkOrderApi alloc] init];

// 초안 장비 조회
[apiInstance getDraftEquipmentsWith:planIdx
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.WorkOrderApi()
var planIdx = ; // {{}} 작업 계획 ID

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.getDraftEquipments(planIdx, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getDraftEquipmentsExample
    {
        public void main()
        {


            var apiInstance = new WorkOrderApi();
            var planIdx = new (); //  | 작업 계획 ID

            try
            {
                // 초안 장비 조회
                apiInstance.getDraftEquipments(planIdx);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WorkOrderApi.getDraftEquipments: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiWorkOrderApi();
$planIdx = ; //  | 작업 계획 ID

try {
    $api_instance->getDraftEquipments($planIdx);
} catch (Exception $e) {
    echo 'Exception when calling WorkOrderApi->getDraftEquipments: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::WorkOrderApi;


my $api_instance = WWW::SwaggerClient::WorkOrderApi->new();
my $planIdx = ; #  | 작업 계획 ID

eval { 
    $api_instance->getDraftEquipments(planIdx => $planIdx);
};
if ($@) {
    warn "Exception when calling WorkOrderApi->getDraftEquipments: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.WorkOrderApi()
planIdx =  #  | 작업 계획 ID

try: 
    # 초안 장비 조회
    api_instance.get_draft_equipments(planIdx)
except ApiException as e:
    print("Exception when calling WorkOrderApi->getDraftEquipments: %s\n" % e)

Parameters

Path parameters
Name Description
planIdx*
(int64)
작업 계획 ID
Required

Responses

Status: 200 - 조회 성공


getGateEquipments

게이트 장비 조회

중장비 입출차를 위한 작업 지시서 장비 정보를 조회합니다.


/work-order/gate-equipments

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/work-order/gate-equipments?targetDate="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.WorkOrderApi;

import java.io.File;
import java.util.*;

public class WorkOrderApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        WorkOrderApi apiInstance = new WorkOrderApi();
         targetDate = ; //  | 대상 일자
        try {
            apiInstance.getGateEquipments(targetDate);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkOrderApi#getGateEquipments");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.WorkOrderApi;

public class WorkOrderApiExample {

    public static void main(String[] args) {
        WorkOrderApi apiInstance = new WorkOrderApi();
         targetDate = ; //  | 대상 일자
        try {
            apiInstance.getGateEquipments(targetDate);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkOrderApi#getGateEquipments");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *targetDate = ; // 대상 일자 (optional)

WorkOrderApi *apiInstance = [[WorkOrderApi alloc] init];

// 게이트 장비 조회
[apiInstance getGateEquipmentsWith:targetDate
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.WorkOrderApi()
var opts = { 
  'targetDate':  // {{}} 대상 일자
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.getGateEquipments(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getGateEquipmentsExample
    {
        public void main()
        {


            var apiInstance = new WorkOrderApi();
            var targetDate = new (); //  | 대상 일자 (optional) 

            try
            {
                // 게이트 장비 조회
                apiInstance.getGateEquipments(targetDate);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WorkOrderApi.getGateEquipments: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiWorkOrderApi();
$targetDate = ; //  | 대상 일자

try {
    $api_instance->getGateEquipments($targetDate);
} catch (Exception $e) {
    echo 'Exception when calling WorkOrderApi->getGateEquipments: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::WorkOrderApi;


my $api_instance = WWW::SwaggerClient::WorkOrderApi->new();
my $targetDate = ; #  | 대상 일자

eval { 
    $api_instance->getGateEquipments(targetDate => $targetDate);
};
if ($@) {
    warn "Exception when calling WorkOrderApi->getGateEquipments: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.WorkOrderApi()
targetDate =  #  | 대상 일자 (optional)

try: 
    # 게이트 장비 조회
    api_instance.get_gate_equipments(targetDate=targetDate)
except ApiException as e:
    print("Exception when calling WorkOrderApi->getGateEquipments: %s\n" % e)

Parameters

Query parameters
Name Description
targetDate
(date)
대상 일자

Responses

Status: 200 - 조회 성공


getWorkOrderList

작업 지시서 목록 조회

모든 작업 지시서를 조회합니다.


/work-order

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/work-order"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.WorkOrderApi;

import java.io.File;
import java.util.*;

public class WorkOrderApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        WorkOrderApi apiInstance = new WorkOrderApi();
        try {
            apiInstance.getWorkOrderList();
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkOrderApi#getWorkOrderList");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.WorkOrderApi;

public class WorkOrderApiExample {

    public static void main(String[] args) {
        WorkOrderApi apiInstance = new WorkOrderApi();
        try {
            apiInstance.getWorkOrderList();
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkOrderApi#getWorkOrderList");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

WorkOrderApi *apiInstance = [[WorkOrderApi alloc] init];

// 작업 지시서 목록 조회
[apiInstance getWorkOrderListWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.WorkOrderApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.getWorkOrderList(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getWorkOrderListExample
    {
        public void main()
        {


            var apiInstance = new WorkOrderApi();

            try
            {
                // 작업 지시서 목록 조회
                apiInstance.getWorkOrderList();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WorkOrderApi.getWorkOrderList: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiWorkOrderApi();

try {
    $api_instance->getWorkOrderList();
} catch (Exception $e) {
    echo 'Exception when calling WorkOrderApi->getWorkOrderList: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::WorkOrderApi;


my $api_instance = WWW::SwaggerClient::WorkOrderApi->new();

eval { 
    $api_instance->getWorkOrderList();
};
if ($@) {
    warn "Exception when calling WorkOrderApi->getWorkOrderList: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.WorkOrderApi()

try: 
    # 작업 지시서 목록 조회
    api_instance.get_work_order_list()
except ApiException as e:
    print("Exception when calling WorkOrderApi->getWorkOrderList: %s\n" % e)

Parameters

Responses

Status: 200 - 조회 성공


getWorkOrderSlice

작업 지시서 페이징 조회

필터와 커서 방식 페이징으로 작업 지시서를 조회합니다.


/work-order/slice

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/work-order/slice?targetDate=&tradeType=&statusCode=&keyword=&cursorDueDate=&cursorId=&size="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.WorkOrderApi;

import java.io.File;
import java.util.*;

public class WorkOrderApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        WorkOrderApi apiInstance = new WorkOrderApi();
         targetDate = ; //  | 대상 일자
         tradeType = ; //  | 공종 유형
         statusCode = ; //  | 상태 코드
         keyword = ; //  | 검색 키워드
         cursorDueDate = ; //  | 커서 마감 일자
         cursorId = ; //  | 커서 ID
         size = ; //  | 페이지 크기
        try {
            apiInstance.getWorkOrderSlice(targetDate, tradeType, statusCode, keyword, cursorDueDate, cursorId, size);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkOrderApi#getWorkOrderSlice");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.WorkOrderApi;

public class WorkOrderApiExample {

    public static void main(String[] args) {
        WorkOrderApi apiInstance = new WorkOrderApi();
         targetDate = ; //  | 대상 일자
         tradeType = ; //  | 공종 유형
         statusCode = ; //  | 상태 코드
         keyword = ; //  | 검색 키워드
         cursorDueDate = ; //  | 커서 마감 일자
         cursorId = ; //  | 커서 ID
         size = ; //  | 페이지 크기
        try {
            apiInstance.getWorkOrderSlice(targetDate, tradeType, statusCode, keyword, cursorDueDate, cursorId, size);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkOrderApi#getWorkOrderSlice");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *targetDate = ; // 대상 일자 (optional)
 *tradeType = ; // 공종 유형 (optional)
 *statusCode = ; // 상태 코드 (optional)
 *keyword = ; // 검색 키워드 (optional)
 *cursorDueDate = ; // 커서 마감 일자 (optional)
 *cursorId = ; // 커서 ID (optional)
 *size = ; // 페이지 크기 (optional) (default to 10)

WorkOrderApi *apiInstance = [[WorkOrderApi alloc] init];

// 작업 지시서 페이징 조회
[apiInstance getWorkOrderSliceWith:targetDate
    tradeType:tradeType
    statusCode:statusCode
    keyword:keyword
    cursorDueDate:cursorDueDate
    cursorId:cursorId
    size:size
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.WorkOrderApi()
var opts = { 
  'targetDate': , // {{}} 대상 일자
  'tradeType': , // {{}} 공종 유형
  'statusCode': , // {{}} 상태 코드
  'keyword': , // {{}} 검색 키워드
  'cursorDueDate': , // {{}} 커서 마감 일자
  'cursorId': , // {{}} 커서 ID
  'size':  // {{}} 페이지 크기
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.getWorkOrderSlice(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getWorkOrderSliceExample
    {
        public void main()
        {


            var apiInstance = new WorkOrderApi();
            var targetDate = new (); //  | 대상 일자 (optional) 
            var tradeType = new (); //  | 공종 유형 (optional) 
            var statusCode = new (); //  | 상태 코드 (optional) 
            var keyword = new (); //  | 검색 키워드 (optional) 
            var cursorDueDate = new (); //  | 커서 마감 일자 (optional) 
            var cursorId = new (); //  | 커서 ID (optional) 
            var size = new (); //  | 페이지 크기 (optional)  (default to 10)

            try
            {
                // 작업 지시서 페이징 조회
                apiInstance.getWorkOrderSlice(targetDate, tradeType, statusCode, keyword, cursorDueDate, cursorId, size);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WorkOrderApi.getWorkOrderSlice: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiWorkOrderApi();
$targetDate = ; //  | 대상 일자
$tradeType = ; //  | 공종 유형
$statusCode = ; //  | 상태 코드
$keyword = ; //  | 검색 키워드
$cursorDueDate = ; //  | 커서 마감 일자
$cursorId = ; //  | 커서 ID
$size = ; //  | 페이지 크기

try {
    $api_instance->getWorkOrderSlice($targetDate, $tradeType, $statusCode, $keyword, $cursorDueDate, $cursorId, $size);
} catch (Exception $e) {
    echo 'Exception when calling WorkOrderApi->getWorkOrderSlice: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::WorkOrderApi;


my $api_instance = WWW::SwaggerClient::WorkOrderApi->new();
my $targetDate = ; #  | 대상 일자
my $tradeType = ; #  | 공종 유형
my $statusCode = ; #  | 상태 코드
my $keyword = ; #  | 검색 키워드
my $cursorDueDate = ; #  | 커서 마감 일자
my $cursorId = ; #  | 커서 ID
my $size = ; #  | 페이지 크기

eval { 
    $api_instance->getWorkOrderSlice(targetDate => $targetDate, tradeType => $tradeType, statusCode => $statusCode, keyword => $keyword, cursorDueDate => $cursorDueDate, cursorId => $cursorId, size => $size);
};
if ($@) {
    warn "Exception when calling WorkOrderApi->getWorkOrderSlice: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.WorkOrderApi()
targetDate =  #  | 대상 일자 (optional)
tradeType =  #  | 공종 유형 (optional)
statusCode =  #  | 상태 코드 (optional)
keyword =  #  | 검색 키워드 (optional)
cursorDueDate =  #  | 커서 마감 일자 (optional)
cursorId =  #  | 커서 ID (optional)
size =  #  | 페이지 크기 (optional) (default to 10)

try: 
    # 작업 지시서 페이징 조회
    api_instance.get_work_order_slice(targetDate=targetDate, tradeType=tradeType, statusCode=statusCode, keyword=keyword, cursorDueDate=cursorDueDate, cursorId=cursorId, size=size)
except ApiException as e:
    print("Exception when calling WorkOrderApi->getWorkOrderSlice: %s\n" % e)

Parameters

Query parameters
Name Description
targetDate
(date)
대상 일자
tradeType
공종 유형
statusCode
상태 코드
keyword
검색 키워드
cursorDueDate
(date)
커서 마감 일자
cursorId
(int64)
커서 ID
size
(int32)
페이지 크기

Responses

Status: 200 - 조회 성공


updateWorkOrder

작업 지시서 수정

기존 작업 지시서를 수정합니다.


/work-order/{id}

Usage and SDK Samples

curl -X PUT\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"http://192.100.200.111:8080/work-order/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.WorkOrderApi;

import java.io.File;
import java.util.*;

public class WorkOrderApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        WorkOrderApi apiInstance = new WorkOrderApi();
        Req body = ; // Req | 
         id = ; //  | 작업 지시서 ID
        try {
            apiInstance.updateWorkOrder(body, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkOrderApi#updateWorkOrder");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.WorkOrderApi;

public class WorkOrderApiExample {

    public static void main(String[] args) {
        WorkOrderApi apiInstance = new WorkOrderApi();
        Req body = ; // Req | 
         id = ; //  | 작업 지시서 ID
        try {
            apiInstance.updateWorkOrder(body, id);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkOrderApi#updateWorkOrder");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
Req *body = ; // 
 *id = ; // 작업 지시서 ID

WorkOrderApi *apiInstance = [[WorkOrderApi alloc] init];

// 작업 지시서 수정
[apiInstance updateWorkOrderWith:body
    id:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.WorkOrderApi()
var body = ; // {{Req}} 
var id = ; // {{}} 작업 지시서 ID

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.updateWorkOrder(bodyid, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class updateWorkOrderExample
    {
        public void main()
        {


            var apiInstance = new WorkOrderApi();
            var body = new Req(); // Req | 
            var id = new (); //  | 작업 지시서 ID

            try
            {
                // 작업 지시서 수정
                apiInstance.updateWorkOrder(body, id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WorkOrderApi.updateWorkOrder: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiWorkOrderApi();
$body = ; // Req | 
$id = ; //  | 작업 지시서 ID

try {
    $api_instance->updateWorkOrder($body, $id);
} catch (Exception $e) {
    echo 'Exception when calling WorkOrderApi->updateWorkOrder: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::WorkOrderApi;


my $api_instance = WWW::SwaggerClient::WorkOrderApi->new();
my $body = WWW::SwaggerClient::Object::Req->new(); # Req | 
my $id = ; #  | 작업 지시서 ID

eval { 
    $api_instance->updateWorkOrder(body => $body, id => $id);
};
if ($@) {
    warn "Exception when calling WorkOrderApi->updateWorkOrder: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.WorkOrderApi()
body =  # Req | 
id =  #  | 작업 지시서 ID

try: 
    # 작업 지시서 수정
    api_instance.update_work_order(body, id)
except ApiException as e:
    print("Exception when calling WorkOrderApi->updateWorkOrder: %s\n" % e)

Parameters

Path parameters
Name Description
id*
(int64)
작업 지시서 ID
Required
Body parameters
Name Description
body *

Responses

Status: 200 - 수정 성공


WorkPlan

create

작업 계획 등록

feat : 단일 작업 계획을 등록합니다


/work-plan

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"http://192.100.200.111:8080/work-plan"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.WorkPlanApi;

import java.io.File;
import java.util.*;

public class WorkPlanApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        WorkPlanApi apiInstance = new WorkPlanApi();
        Req body = ; // Req | 
        try {
            BaseResponse result = apiInstance.create(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkPlanApi#create");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.WorkPlanApi;

public class WorkPlanApiExample {

    public static void main(String[] args) {
        WorkPlanApi apiInstance = new WorkPlanApi();
        Req body = ; // Req | 
        try {
            BaseResponse result = apiInstance.create(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkPlanApi#create");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
Req *body = ; // 

WorkPlanApi *apiInstance = [[WorkPlanApi alloc] init];

// 작업 계획 등록
[apiInstance createWith:body
              completionHandler: ^(BaseResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.WorkPlanApi()
var body = ; // {{Req}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.create(body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class createExample
    {
        public void main()
        {


            var apiInstance = new WorkPlanApi();
            var body = new Req(); // Req | 

            try
            {
                // 작업 계획 등록
                BaseResponse result = apiInstance.create(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WorkPlanApi.create: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiWorkPlanApi();
$body = ; // Req | 

try {
    $result = $api_instance->create($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling WorkPlanApi->create: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::WorkPlanApi;


my $api_instance = WWW::SwaggerClient::WorkPlanApi->new();
my $body = WWW::SwaggerClient::Object::Req->new(); # Req | 

eval { 
    my $result = $api_instance->create(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling WorkPlanApi->create: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.WorkPlanApi()
body =  # Req | 

try: 
    # 작업 계획 등록
    api_response = api_instance.create(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling WorkPlanApi->create: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - 등록 성공


createBulk

작업 계획 일괄 등록

feat : 여러 작업 계획을 한 번에 등록합니다


/work-plan/bulk

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"http://192.100.200.111:8080/work-plan/bulk"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.WorkPlanApi;

import java.io.File;
import java.util.*;

public class WorkPlanApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        WorkPlanApi apiInstance = new WorkPlanApi();
         body = ; //  | 
        try {
            BaseResponse result = apiInstance.createBulk(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkPlanApi#createBulk");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.WorkPlanApi;

public class WorkPlanApiExample {

    public static void main(String[] args) {
        WorkPlanApi apiInstance = new WorkPlanApi();
         body = ; //  | 
        try {
            BaseResponse result = apiInstance.createBulk(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkPlanApi#createBulk");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *body = ; // 

WorkPlanApi *apiInstance = [[WorkPlanApi alloc] init];

// 작업 계획 일괄 등록
[apiInstance createBulkWith:body
              completionHandler: ^(BaseResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.WorkPlanApi()
var body = ; // {{}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createBulk(body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class createBulkExample
    {
        public void main()
        {


            var apiInstance = new WorkPlanApi();
            var body = new (); //  | 

            try
            {
                // 작업 계획 일괄 등록
                BaseResponse result = apiInstance.createBulk(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WorkPlanApi.createBulk: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiWorkPlanApi();
$body = ; //  | 

try {
    $result = $api_instance->createBulk($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling WorkPlanApi->createBulk: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::WorkPlanApi;


my $api_instance = WWW::SwaggerClient::WorkPlanApi->new();
my $body = WWW::SwaggerClient::Object::->new(); #  | 

eval { 
    my $result = $api_instance->createBulk(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling WorkPlanApi->createBulk: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.WorkPlanApi()
body =  #  | 

try: 
    # 작업 계획 일괄 등록
    api_response = api_instance.create_bulk(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling WorkPlanApi->createBulk: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - 일괄 등록 성공


delete

작업 계획 삭제

feat : 작업 계획을 삭제합니다


/work-plan/{planId}

Usage and SDK Samples

curl -X DELETE\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/work-plan/{planId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.WorkPlanApi;

import java.io.File;
import java.util.*;

public class WorkPlanApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        WorkPlanApi apiInstance = new WorkPlanApi();
         planId = ; //  | 작업 계획 ID
        try {
            BaseResponse result = apiInstance.delete(planId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkPlanApi#delete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.WorkPlanApi;

public class WorkPlanApiExample {

    public static void main(String[] args) {
        WorkPlanApi apiInstance = new WorkPlanApi();
         planId = ; //  | 작업 계획 ID
        try {
            BaseResponse result = apiInstance.delete(planId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkPlanApi#delete");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *planId = ; // 작업 계획 ID

WorkPlanApi *apiInstance = [[WorkPlanApi alloc] init];

// 작업 계획 삭제
[apiInstance deleteWith:planId
              completionHandler: ^(BaseResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.WorkPlanApi()
var planId = ; // {{}} 작업 계획 ID

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.delete(planId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class deleteExample
    {
        public void main()
        {


            var apiInstance = new WorkPlanApi();
            var planId = new (); //  | 작업 계획 ID

            try
            {
                // 작업 계획 삭제
                BaseResponse result = apiInstance.delete(planId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WorkPlanApi.delete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiWorkPlanApi();
$planId = ; //  | 작업 계획 ID

try {
    $result = $api_instance->delete($planId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling WorkPlanApi->delete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::WorkPlanApi;


my $api_instance = WWW::SwaggerClient::WorkPlanApi->new();
my $planId = ; #  | 작업 계획 ID

eval { 
    my $result = $api_instance->delete(planId => $planId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling WorkPlanApi->delete: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.WorkPlanApi()
planId =  #  | 작업 계획 ID

try: 
    # 작업 계획 삭제
    api_response = api_instance.delete(planId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling WorkPlanApi->delete: %s\n" % e)

Parameters

Path parameters
Name Description
planId*
(int64)
작업 계획 ID
Required

Responses

Status: 200 - 삭제 성공


extend

일정 연장 등록 또는 수정

feat : 작업 계획의 일정 연장 정보를 등록하거나 수정합니다


/work-plan/{planId}/extension

Usage and SDK Samples

curl -X PUT\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"http://192.100.200.111:8080/work-plan/{planId}/extension"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.WorkPlanApi;

import java.io.File;
import java.util.*;

public class WorkPlanApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        WorkPlanApi apiInstance = new WorkPlanApi();
        ExtReq body = ; // ExtReq | 
         planId = ; //  | 작업 계획 ID
        try {
            BaseResponse result = apiInstance.extend(body, planId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkPlanApi#extend");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.WorkPlanApi;

public class WorkPlanApiExample {

    public static void main(String[] args) {
        WorkPlanApi apiInstance = new WorkPlanApi();
        ExtReq body = ; // ExtReq | 
         planId = ; //  | 작업 계획 ID
        try {
            BaseResponse result = apiInstance.extend(body, planId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkPlanApi#extend");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
ExtReq *body = ; // 
 *planId = ; // 작업 계획 ID

WorkPlanApi *apiInstance = [[WorkPlanApi alloc] init];

// 일정 연장 등록 또는 수정
[apiInstance extendWith:body
    planId:planId
              completionHandler: ^(BaseResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.WorkPlanApi()
var body = ; // {{ExtReq}} 
var planId = ; // {{}} 작업 계획 ID

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.extend(bodyplanId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class extendExample
    {
        public void main()
        {


            var apiInstance = new WorkPlanApi();
            var body = new ExtReq(); // ExtReq | 
            var planId = new (); //  | 작업 계획 ID

            try
            {
                // 일정 연장 등록 또는 수정
                BaseResponse result = apiInstance.extend(body, planId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WorkPlanApi.extend: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiWorkPlanApi();
$body = ; // ExtReq | 
$planId = ; //  | 작업 계획 ID

try {
    $result = $api_instance->extend($body, $planId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling WorkPlanApi->extend: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::WorkPlanApi;


my $api_instance = WWW::SwaggerClient::WorkPlanApi->new();
my $body = WWW::SwaggerClient::Object::ExtReq->new(); # ExtReq | 
my $planId = ; #  | 작업 계획 ID

eval { 
    my $result = $api_instance->extend(body => $body, planId => $planId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling WorkPlanApi->extend: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.WorkPlanApi()
body =  # ExtReq | 
planId =  #  | 작업 계획 ID

try: 
    # 일정 연장 등록 또는 수정
    api_response = api_instance.extend(body, planId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling WorkPlanApi->extend: %s\n" % e)

Parameters

Path parameters
Name Description
planId*
(int64)
작업 계획 ID
Required
Body parameters
Name Description
body *

Responses

Status: 200 - 일정 연장 반영 성공


list

작업 계획 목록 조회

feat : 계획 종류 및 필터 조건으로 작업 계획 목록을 조회합니다


/work-plan

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/work-plan?planType=&projectId=&trade=&status=&startDate=&endDate="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.WorkPlanApi;

import java.io.File;
import java.util.*;

public class WorkPlanApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        WorkPlanApi apiInstance = new WorkPlanApi();
         planType = ; //  | 계획 유형 (연간/월간/주간)
         projectId = ; //  | 현장 ID
         trade = ; //  | 공종
         status = ; //  | 상태 (진행 예정/진행 중)
         startDate = ; //  | 시작일
         endDate = ; //  | 종료일
        try {
            BaseResponse result = apiInstance.list(planType, projectId, trade, status, startDate, endDate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkPlanApi#list");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.WorkPlanApi;

public class WorkPlanApiExample {

    public static void main(String[] args) {
        WorkPlanApi apiInstance = new WorkPlanApi();
         planType = ; //  | 계획 유형 (연간/월간/주간)
         projectId = ; //  | 현장 ID
         trade = ; //  | 공종
         status = ; //  | 상태 (진행 예정/진행 중)
         startDate = ; //  | 시작일
         endDate = ; //  | 종료일
        try {
            BaseResponse result = apiInstance.list(planType, projectId, trade, status, startDate, endDate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkPlanApi#list");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *planType = ; // 계획 유형 (연간/월간/주간) (optional) (default to 월간)
 *projectId = ; // 현장 ID (optional)
 *trade = ; // 공종 (optional)
 *status = ; // 상태 (진행 예정/진행 중) (optional)
 *startDate = ; // 시작일 (optional)
 *endDate = ; // 종료일 (optional)

WorkPlanApi *apiInstance = [[WorkPlanApi alloc] init];

// 작업 계획 목록 조회
[apiInstance listWith:planType
    projectId:projectId
    trade:trade
    status:status
    startDate:startDate
    endDate:endDate
              completionHandler: ^(BaseResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.WorkPlanApi()
var opts = { 
  'planType': , // {{}} 계획 유형 (연간/월간/주간)
  'projectId': , // {{}} 현장 ID
  'trade': , // {{}} 공종
  'status': , // {{}} 상태 (진행 예정/진행 중)
  'startDate': , // {{}} 시작일
  'endDate':  // {{}} 종료일
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.list(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class listExample
    {
        public void main()
        {


            var apiInstance = new WorkPlanApi();
            var planType = new (); //  | 계획 유형 (연간/월간/주간) (optional)  (default to 월간)
            var projectId = new (); //  | 현장 ID (optional) 
            var trade = new (); //  | 공종 (optional) 
            var status = new (); //  | 상태 (진행 예정/진행 중) (optional) 
            var startDate = new (); //  | 시작일 (optional) 
            var endDate = new (); //  | 종료일 (optional) 

            try
            {
                // 작업 계획 목록 조회
                BaseResponse result = apiInstance.list(planType, projectId, trade, status, startDate, endDate);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WorkPlanApi.list: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiWorkPlanApi();
$planType = ; //  | 계획 유형 (연간/월간/주간)
$projectId = ; //  | 현장 ID
$trade = ; //  | 공종
$status = ; //  | 상태 (진행 예정/진행 중)
$startDate = ; //  | 시작일
$endDate = ; //  | 종료일

try {
    $result = $api_instance->list($planType, $projectId, $trade, $status, $startDate, $endDate);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling WorkPlanApi->list: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::WorkPlanApi;


my $api_instance = WWW::SwaggerClient::WorkPlanApi->new();
my $planType = ; #  | 계획 유형 (연간/월간/주간)
my $projectId = ; #  | 현장 ID
my $trade = ; #  | 공종
my $status = ; #  | 상태 (진행 예정/진행 중)
my $startDate = ; #  | 시작일
my $endDate = ; #  | 종료일

eval { 
    my $result = $api_instance->list(planType => $planType, projectId => $projectId, trade => $trade, status => $status, startDate => $startDate, endDate => $endDate);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling WorkPlanApi->list: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.WorkPlanApi()
planType =  #  | 계획 유형 (연간/월간/주간) (optional) (default to 월간)
projectId =  #  | 현장 ID (optional)
trade =  #  | 공종 (optional)
status =  #  | 상태 (진행 예정/진행 중) (optional)
startDate =  #  | 시작일 (optional)
endDate =  #  | 종료일 (optional)

try: 
    # 작업 계획 목록 조회
    api_response = api_instance.list(planType=planType, projectId=projectId, trade=trade, status=status, startDate=startDate, endDate=endDate)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling WorkPlanApi->list: %s\n" % e)

Parameters

Query parameters
Name Description
planType
계획 유형 (연간/월간/주간)
projectId
(int64)
현장 ID
trade
공종
status
상태 (진행 예정/진행 중)
startDate
(date)
시작일
endDate
(date)
종료일

Responses

Status: 200 - 조회 성공


listByProject

현장별 작업 계획 목록 조회

feat : 특정 현장의 모든 작업 계획을 조회합니다


/work-plan/project/{projectId}

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/work-plan/project/{projectId}?includeAllTrades="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.WorkPlanApi;

import java.io.File;
import java.util.*;

public class WorkPlanApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        WorkPlanApi apiInstance = new WorkPlanApi();
         projectId = ; //  | 현장 ID
         includeAllTrades = ; //  | 전체 공종 포함 여부
        try {
            BaseResponse result = apiInstance.listByProject(projectId, includeAllTrades);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkPlanApi#listByProject");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.WorkPlanApi;

public class WorkPlanApiExample {

    public static void main(String[] args) {
        WorkPlanApi apiInstance = new WorkPlanApi();
         projectId = ; //  | 현장 ID
         includeAllTrades = ; //  | 전체 공종 포함 여부
        try {
            BaseResponse result = apiInstance.listByProject(projectId, includeAllTrades);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkPlanApi#listByProject");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *projectId = ; // 현장 ID
 *includeAllTrades = ; // 전체 공종 포함 여부 (optional) (default to false)

WorkPlanApi *apiInstance = [[WorkPlanApi alloc] init];

// 현장별 작업 계획 목록 조회
[apiInstance listByProjectWith:projectId
    includeAllTrades:includeAllTrades
              completionHandler: ^(BaseResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.WorkPlanApi()
var projectId = ; // {{}} 현장 ID
var opts = { 
  'includeAllTrades':  // {{}} 전체 공종 포함 여부
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.listByProject(projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class listByProjectExample
    {
        public void main()
        {


            var apiInstance = new WorkPlanApi();
            var projectId = new (); //  | 현장 ID
            var includeAllTrades = new (); //  | 전체 공종 포함 여부 (optional)  (default to false)

            try
            {
                // 현장별 작업 계획 목록 조회
                BaseResponse result = apiInstance.listByProject(projectId, includeAllTrades);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WorkPlanApi.listByProject: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiWorkPlanApi();
$projectId = ; //  | 현장 ID
$includeAllTrades = ; //  | 전체 공종 포함 여부

try {
    $result = $api_instance->listByProject($projectId, $includeAllTrades);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling WorkPlanApi->listByProject: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::WorkPlanApi;


my $api_instance = WWW::SwaggerClient::WorkPlanApi->new();
my $projectId = ; #  | 현장 ID
my $includeAllTrades = ; #  | 전체 공종 포함 여부

eval { 
    my $result = $api_instance->listByProject(projectId => $projectId, includeAllTrades => $includeAllTrades);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling WorkPlanApi->listByProject: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.WorkPlanApi()
projectId =  #  | 현장 ID
includeAllTrades =  #  | 전체 공종 포함 여부 (optional) (default to false)

try: 
    # 현장별 작업 계획 목록 조회
    api_response = api_instance.list_by_project(projectId, includeAllTrades=includeAllTrades)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling WorkPlanApi->listByProject: %s\n" % e)

Parameters

Path parameters
Name Description
projectId*
(int64)
현장 ID
Required
Query parameters
Name Description
includeAllTrades
전체 공종 포함 여부

Responses

Status: 200 - 조회 성공


read

작업 계획 단일 조회

feat : 작업 계획 ID로 상세 정보를 조회합니다


/work-plan/{planId}

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/work-plan/{planId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.WorkPlanApi;

import java.io.File;
import java.util.*;

public class WorkPlanApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        WorkPlanApi apiInstance = new WorkPlanApi();
         planId = ; //  | 작업 계획 ID
        try {
            BaseResponse result = apiInstance.read(planId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkPlanApi#read");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.WorkPlanApi;

public class WorkPlanApiExample {

    public static void main(String[] args) {
        WorkPlanApi apiInstance = new WorkPlanApi();
         planId = ; //  | 작업 계획 ID
        try {
            BaseResponse result = apiInstance.read(planId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkPlanApi#read");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *planId = ; // 작업 계획 ID

WorkPlanApi *apiInstance = [[WorkPlanApi alloc] init];

// 작업 계획 단일 조회
[apiInstance readWith:planId
              completionHandler: ^(BaseResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.WorkPlanApi()
var planId = ; // {{}} 작업 계획 ID

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.read(planId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class readExample
    {
        public void main()
        {


            var apiInstance = new WorkPlanApi();
            var planId = new (); //  | 작업 계획 ID

            try
            {
                // 작업 계획 단일 조회
                BaseResponse result = apiInstance.read(planId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WorkPlanApi.read: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiWorkPlanApi();
$planId = ; //  | 작업 계획 ID

try {
    $result = $api_instance->read($planId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling WorkPlanApi->read: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::WorkPlanApi;


my $api_instance = WWW::SwaggerClient::WorkPlanApi->new();
my $planId = ; #  | 작업 계획 ID

eval { 
    my $result = $api_instance->read(planId => $planId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling WorkPlanApi->read: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.WorkPlanApi()
planId =  #  | 작업 계획 ID

try: 
    # 작업 계획 단일 조회
    api_response = api_instance.read(planId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling WorkPlanApi->read: %s\n" % e)

Parameters

Path parameters
Name Description
planId*
(int64)
작업 계획 ID
Required

Responses

Status: 200 - 조회 성공


start

작업 착수 처리

feat : 작업의 실제 시작일을 기록하고 상태를 진행 중으로 변경합니다


/work-plan/{planId}/start

Usage and SDK Samples

curl -X PUT\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/work-plan/{planId}/start"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.WorkPlanApi;

import java.io.File;
import java.util.*;

public class WorkPlanApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        WorkPlanApi apiInstance = new WorkPlanApi();
         planId = ; //  | 작업 계획 ID
        try {
            BaseResponse result = apiInstance.start(planId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkPlanApi#start");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.WorkPlanApi;

public class WorkPlanApiExample {

    public static void main(String[] args) {
        WorkPlanApi apiInstance = new WorkPlanApi();
         planId = ; //  | 작업 계획 ID
        try {
            BaseResponse result = apiInstance.start(planId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkPlanApi#start");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *planId = ; // 작업 계획 ID

WorkPlanApi *apiInstance = [[WorkPlanApi alloc] init];

// 작업 착수 처리
[apiInstance startWith:planId
              completionHandler: ^(BaseResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.WorkPlanApi()
var planId = ; // {{}} 작업 계획 ID

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.start(planId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class startExample
    {
        public void main()
        {


            var apiInstance = new WorkPlanApi();
            var planId = new (); //  | 작업 계획 ID

            try
            {
                // 작업 착수 처리
                BaseResponse result = apiInstance.start(planId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WorkPlanApi.start: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiWorkPlanApi();
$planId = ; //  | 작업 계획 ID

try {
    $result = $api_instance->start($planId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling WorkPlanApi->start: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::WorkPlanApi;


my $api_instance = WWW::SwaggerClient::WorkPlanApi->new();
my $planId = ; #  | 작업 계획 ID

eval { 
    my $result = $api_instance->start(planId => $planId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling WorkPlanApi->start: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.WorkPlanApi()
planId =  #  | 작업 계획 ID

try: 
    # 작업 착수 처리
    api_response = api_instance.start(planId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling WorkPlanApi->start: %s\n" % e)

Parameters

Path parameters
Name Description
planId*
(int64)
작업 계획 ID
Required

Responses

Status: 200 - 착수 처리 성공


submitWeekly

주간 계획서 일괄 제출

feat : 협력사 담당자가 한 번에 여러 일자 작업을 등록합니다


/work-plan/weekly

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"http://192.100.200.111:8080/work-plan/weekly"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.WorkPlanApi;

import java.io.File;
import java.util.*;

public class WorkPlanApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        WorkPlanApi apiInstance = new WorkPlanApi();
        WeeklySubmitReq body = ; // WeeklySubmitReq | 
        try {
            BaseResponse result = apiInstance.submitWeekly(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkPlanApi#submitWeekly");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.WorkPlanApi;

public class WorkPlanApiExample {

    public static void main(String[] args) {
        WorkPlanApi apiInstance = new WorkPlanApi();
        WeeklySubmitReq body = ; // WeeklySubmitReq | 
        try {
            BaseResponse result = apiInstance.submitWeekly(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkPlanApi#submitWeekly");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
WeeklySubmitReq *body = ; // 

WorkPlanApi *apiInstance = [[WorkPlanApi alloc] init];

// 주간 계획서 일괄 제출
[apiInstance submitWeeklyWith:body
              completionHandler: ^(BaseResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.WorkPlanApi()
var body = ; // {{WeeklySubmitReq}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.submitWeekly(body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class submitWeeklyExample
    {
        public void main()
        {


            var apiInstance = new WorkPlanApi();
            var body = new WeeklySubmitReq(); // WeeklySubmitReq | 

            try
            {
                // 주간 계획서 일괄 제출
                BaseResponse result = apiInstance.submitWeekly(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WorkPlanApi.submitWeekly: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiWorkPlanApi();
$body = ; // WeeklySubmitReq | 

try {
    $result = $api_instance->submitWeekly($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling WorkPlanApi->submitWeekly: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::WorkPlanApi;


my $api_instance = WWW::SwaggerClient::WorkPlanApi->new();
my $body = WWW::SwaggerClient::Object::WeeklySubmitReq->new(); # WeeklySubmitReq | 

eval { 
    my $result = $api_instance->submitWeekly(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling WorkPlanApi->submitWeekly: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.WorkPlanApi()
body =  # WeeklySubmitReq | 

try: 
    # 주간 계획서 일괄 제출
    api_response = api_instance.submit_weekly(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling WorkPlanApi->submitWeekly: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - 주간 계획 제출 성공


update

작업 계획 정보 수정

feat : 작업 계획의 기본 정보를 수정합니다


/work-plan/{planId}

Usage and SDK Samples

curl -X PUT\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"http://192.100.200.111:8080/work-plan/{planId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.WorkPlanApi;

import java.io.File;
import java.util.*;

public class WorkPlanApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        WorkPlanApi apiInstance = new WorkPlanApi();
        Req body = ; // Req | 
         planId = ; //  | 작업 계획 ID
        try {
            BaseResponse result = apiInstance.update(body, planId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkPlanApi#update");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.WorkPlanApi;

public class WorkPlanApiExample {

    public static void main(String[] args) {
        WorkPlanApi apiInstance = new WorkPlanApi();
        Req body = ; // Req | 
         planId = ; //  | 작업 계획 ID
        try {
            BaseResponse result = apiInstance.update(body, planId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkPlanApi#update");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
Req *body = ; // 
 *planId = ; // 작업 계획 ID

WorkPlanApi *apiInstance = [[WorkPlanApi alloc] init];

// 작업 계획 정보 수정
[apiInstance updateWith:body
    planId:planId
              completionHandler: ^(BaseResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.WorkPlanApi()
var body = ; // {{Req}} 
var planId = ; // {{}} 작업 계획 ID

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.update(bodyplanId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class updateExample
    {
        public void main()
        {


            var apiInstance = new WorkPlanApi();
            var body = new Req(); // Req | 
            var planId = new (); //  | 작업 계획 ID

            try
            {
                // 작업 계획 정보 수정
                BaseResponse result = apiInstance.update(body, planId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WorkPlanApi.update: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiWorkPlanApi();
$body = ; // Req | 
$planId = ; //  | 작업 계획 ID

try {
    $result = $api_instance->update($body, $planId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling WorkPlanApi->update: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::WorkPlanApi;


my $api_instance = WWW::SwaggerClient::WorkPlanApi->new();
my $body = WWW::SwaggerClient::Object::Req->new(); # Req | 
my $planId = ; #  | 작업 계획 ID

eval { 
    my $result = $api_instance->update(body => $body, planId => $planId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling WorkPlanApi->update: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.WorkPlanApi()
body =  # Req | 
planId =  #  | 작업 계획 ID

try: 
    # 작업 계획 정보 수정
    api_response = api_instance.update(body, planId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling WorkPlanApi->update: %s\n" % e)

Parameters

Path parameters
Name Description
planId*
(int64)
작업 계획 ID
Required
Body parameters
Name Description
body *

Responses

Status: 200 - 수정 성공


uploadAndExtract

작업 계획 파일 업로드 및 추출

feat : 엑셀 또는 PDF 파일에서 작업 계획 데이터를 추출합니다


/work-plan/upload

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
-H "Content-Type: multipart/form-data"\
"http://192.100.200.111:8080/work-plan/upload?projectId=&planType=&trade=&year=&month="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.WorkPlanApi;

import java.io.File;
import java.util.*;

public class WorkPlanApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        WorkPlanApi apiInstance = new WorkPlanApi();
         projectId = ; //  | 현장 ID
         planType = ; //  | 계획 유형 (연간/월간/주간)
         file = ; //  | 
         trade = ; //  | 공종
         year = ; //  | 연도
         month = ; //  | 월
        try {
            BaseResponse result = apiInstance.uploadAndExtract(projectId, planType, file, trade, year, month);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkPlanApi#uploadAndExtract");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.WorkPlanApi;

public class WorkPlanApiExample {

    public static void main(String[] args) {
        WorkPlanApi apiInstance = new WorkPlanApi();
         projectId = ; //  | 현장 ID
         planType = ; //  | 계획 유형 (연간/월간/주간)
         file = ; //  | 
         trade = ; //  | 공종
         year = ; //  | 연도
         month = ; //  | 월
        try {
            BaseResponse result = apiInstance.uploadAndExtract(projectId, planType, file, trade, year, month);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkPlanApi#uploadAndExtract");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *projectId = ; // 현장 ID
 *planType = ; // 계획 유형 (연간/월간/주간)
 *file = ; //  (optional)
 *trade = ; // 공종 (optional)
 *year = ; // 연도 (optional)
 *month = ; // 월 (optional)

WorkPlanApi *apiInstance = [[WorkPlanApi alloc] init];

// 작업 계획 파일 업로드 및 추출
[apiInstance uploadAndExtractWith:projectId
    planType:planType
    file:file
    trade:trade
    year:year
    month:month
              completionHandler: ^(BaseResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.WorkPlanApi()
var projectId = ; // {{}} 현장 ID
var planType = ; // {{}} 계획 유형 (연간/월간/주간)
var opts = { 
  'file':  // {{}} 
  'trade':  // {{}} 공종
  'year':  // {{}} 연도
  'month':  // {{}} 월
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.uploadAndExtract(projectIdplanType, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class uploadAndExtractExample
    {
        public void main()
        {


            var apiInstance = new WorkPlanApi();
            var projectId = new (); //  | 현장 ID
            var planType = new (); //  | 계획 유형 (연간/월간/주간)
            var file = new (); //  |  (optional) 
            var trade = new (); //  | 공종 (optional) 
            var year = new (); //  | 연도 (optional) 
            var month = new (); //  | 월 (optional) 

            try
            {
                // 작업 계획 파일 업로드 및 추출
                BaseResponse result = apiInstance.uploadAndExtract(projectId, planType, file, trade, year, month);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WorkPlanApi.uploadAndExtract: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiWorkPlanApi();
$projectId = ; //  | 현장 ID
$planType = ; //  | 계획 유형 (연간/월간/주간)
$file = ; //  | 
$trade = ; //  | 공종
$year = ; //  | 연도
$month = ; //  | 월

try {
    $result = $api_instance->uploadAndExtract($projectId, $planType, $file, $trade, $year, $month);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling WorkPlanApi->uploadAndExtract: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::WorkPlanApi;


my $api_instance = WWW::SwaggerClient::WorkPlanApi->new();
my $projectId = ; #  | 현장 ID
my $planType = ; #  | 계획 유형 (연간/월간/주간)
my $file = ; #  | 
my $trade = ; #  | 공종
my $year = ; #  | 연도
my $month = ; #  | 월

eval { 
    my $result = $api_instance->uploadAndExtract(projectId => $projectId, planType => $planType, file => $file, trade => $trade, year => $year, month => $month);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling WorkPlanApi->uploadAndExtract: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.WorkPlanApi()
projectId =  #  | 현장 ID
planType =  #  | 계획 유형 (연간/월간/주간)
file =  #  |  (optional)
trade =  #  | 공종 (optional)
year =  #  | 연도 (optional)
month =  #  | 월 (optional)

try: 
    # 작업 계획 파일 업로드 및 추출
    api_response = api_instance.upload_and_extract(projectId, planType, file=file, trade=trade, year=year, month=month)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling WorkPlanApi->uploadAndExtract: %s\n" % e)

Parameters

Form parameters
Name Description
file
(binary)
Query parameters
Name Description
projectId*
(int64)
현장 ID
Required
planType*
계획 유형 (연간/월간/주간)
Required
trade
공종
year
(int32)
연도
month
(int32)

Responses

Status: 200 - 파일 처리 성공


WorkerManagement

accidents

안전 사고 이력 조회

작업자의 안전 사고 이력을 조회합니다.


/management/{workerIdx}/accidents

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/management/{workerIdx}/accidents"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.WorkerManagementApi;

import java.io.File;
import java.util.*;

public class WorkerManagementApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        WorkerManagementApi apiInstance = new WorkerManagementApi();
         workerIdx = ; //  | 작업자 ID
        try {
            BaseResponseListAccidentRes result = apiInstance.accidents(workerIdx);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkerManagementApi#accidents");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.WorkerManagementApi;

public class WorkerManagementApiExample {

    public static void main(String[] args) {
        WorkerManagementApi apiInstance = new WorkerManagementApi();
         workerIdx = ; //  | 작업자 ID
        try {
            BaseResponseListAccidentRes result = apiInstance.accidents(workerIdx);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkerManagementApi#accidents");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *workerIdx = ; // 작업자 ID

WorkerManagementApi *apiInstance = [[WorkerManagementApi alloc] init];

// 안전 사고 이력 조회
[apiInstance accidentsWith:workerIdx
              completionHandler: ^(BaseResponseListAccidentRes output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.WorkerManagementApi()
var workerIdx = ; // {{}} 작업자 ID

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.accidents(workerIdx, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class accidentsExample
    {
        public void main()
        {


            var apiInstance = new WorkerManagementApi();
            var workerIdx = new (); //  | 작업자 ID

            try
            {
                // 안전 사고 이력 조회
                BaseResponseListAccidentRes result = apiInstance.accidents(workerIdx);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WorkerManagementApi.accidents: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiWorkerManagementApi();
$workerIdx = ; //  | 작업자 ID

try {
    $result = $api_instance->accidents($workerIdx);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling WorkerManagementApi->accidents: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::WorkerManagementApi;


my $api_instance = WWW::SwaggerClient::WorkerManagementApi->new();
my $workerIdx = ; #  | 작업자 ID

eval { 
    my $result = $api_instance->accidents(workerIdx => $workerIdx);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling WorkerManagementApi->accidents: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.WorkerManagementApi()
workerIdx =  #  | 작업자 ID

try: 
    # 안전 사고 이력 조회
    api_response = api_instance.accidents(workerIdx)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling WorkerManagementApi->accidents: %s\n" % e)

Parameters

Path parameters
Name Description
workerIdx*
(int64)
작업자 ID
Required

Responses

Status: 200 - 조회 성공


attendance

출결 이력 조회

작업자의 월별 출결 이력을 조회합니다.


/management/{workerIdx}/attendance

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/management/{workerIdx}/attendance?yearMonth="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.WorkerManagementApi;

import java.io.File;
import java.util.*;

public class WorkerManagementApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        WorkerManagementApi apiInstance = new WorkerManagementApi();
         workerIdx = ; //  | 작업자 ID
         yearMonth = ; //  | 조회 년월
        try {
            BaseResponseListAttendanceRes result = apiInstance.attendance(workerIdx, yearMonth);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkerManagementApi#attendance");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.WorkerManagementApi;

public class WorkerManagementApiExample {

    public static void main(String[] args) {
        WorkerManagementApi apiInstance = new WorkerManagementApi();
         workerIdx = ; //  | 작업자 ID
         yearMonth = ; //  | 조회 년월
        try {
            BaseResponseListAttendanceRes result = apiInstance.attendance(workerIdx, yearMonth);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkerManagementApi#attendance");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *workerIdx = ; // 작업자 ID
 *yearMonth = ; // 조회 년월 (optional)

WorkerManagementApi *apiInstance = [[WorkerManagementApi alloc] init];

// 출결 이력 조회
[apiInstance attendanceWith:workerIdx
    yearMonth:yearMonth
              completionHandler: ^(BaseResponseListAttendanceRes output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.WorkerManagementApi()
var workerIdx = ; // {{}} 작업자 ID
var opts = { 
  'yearMonth':  // {{}} 조회 년월
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.attendance(workerIdx, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class attendanceExample
    {
        public void main()
        {


            var apiInstance = new WorkerManagementApi();
            var workerIdx = new (); //  | 작업자 ID
            var yearMonth = new (); //  | 조회 년월 (optional) 

            try
            {
                // 출결 이력 조회
                BaseResponseListAttendanceRes result = apiInstance.attendance(workerIdx, yearMonth);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WorkerManagementApi.attendance: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiWorkerManagementApi();
$workerIdx = ; //  | 작업자 ID
$yearMonth = ; //  | 조회 년월

try {
    $result = $api_instance->attendance($workerIdx, $yearMonth);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling WorkerManagementApi->attendance: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::WorkerManagementApi;


my $api_instance = WWW::SwaggerClient::WorkerManagementApi->new();
my $workerIdx = ; #  | 작업자 ID
my $yearMonth = ; #  | 조회 년월

eval { 
    my $result = $api_instance->attendance(workerIdx => $workerIdx, yearMonth => $yearMonth);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling WorkerManagementApi->attendance: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.WorkerManagementApi()
workerIdx =  #  | 작업자 ID
yearMonth =  #  | 조회 년월 (optional)

try: 
    # 출결 이력 조회
    api_response = api_instance.attendance(workerIdx, yearMonth=yearMonth)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling WorkerManagementApi->attendance: %s\n" % e)

Parameters

Path parameters
Name Description
workerIdx*
(int64)
작업자 ID
Required
Query parameters
Name Description
yearMonth
조회 년월

Responses

Status: 200 - 조회 성공


attendanceStream

출퇴근 실시간 스트림

SSE를 통해 현장별 출퇴근 정보를 실시간으로 스트리밍합니다.


/management/sse/attendance-stream

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: text/event-stream"\
"http://192.100.200.111:8080/management/sse/attendance-stream?siteCode="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.WorkerManagementApi;

import java.io.File;
import java.util.*;

public class WorkerManagementApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        WorkerManagementApi apiInstance = new WorkerManagementApi();
         siteCode = ; //  | 현장 코드
        try {
            SseEmitter result = apiInstance.attendanceStream(siteCode);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkerManagementApi#attendanceStream");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.WorkerManagementApi;

public class WorkerManagementApiExample {

    public static void main(String[] args) {
        WorkerManagementApi apiInstance = new WorkerManagementApi();
         siteCode = ; //  | 현장 코드
        try {
            SseEmitter result = apiInstance.attendanceStream(siteCode);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkerManagementApi#attendanceStream");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *siteCode = ; // 현장 코드 (optional)

WorkerManagementApi *apiInstance = [[WorkerManagementApi alloc] init];

// 출퇴근 실시간 스트림
[apiInstance attendanceStreamWith:siteCode
              completionHandler: ^(SseEmitter output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.WorkerManagementApi()
var opts = { 
  'siteCode':  // {{}} 현장 코드
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.attendanceStream(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class attendanceStreamExample
    {
        public void main()
        {


            var apiInstance = new WorkerManagementApi();
            var siteCode = new (); //  | 현장 코드 (optional) 

            try
            {
                // 출퇴근 실시간 스트림
                SseEmitter result = apiInstance.attendanceStream(siteCode);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WorkerManagementApi.attendanceStream: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiWorkerManagementApi();
$siteCode = ; //  | 현장 코드

try {
    $result = $api_instance->attendanceStream($siteCode);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling WorkerManagementApi->attendanceStream: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::WorkerManagementApi;


my $api_instance = WWW::SwaggerClient::WorkerManagementApi->new();
my $siteCode = ; #  | 현장 코드

eval { 
    my $result = $api_instance->attendanceStream(siteCode => $siteCode);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling WorkerManagementApi->attendanceStream: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.WorkerManagementApi()
siteCode =  #  | 현장 코드 (optional)

try: 
    # 출퇴근 실시간 스트림
    api_response = api_instance.attendance_stream(siteCode=siteCode)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling WorkerManagementApi->attendanceStream: %s\n" % e)

Parameters

Query parameters
Name Description
siteCode
현장 코드

Responses

Status: 200 - 스트림 연결 성공


bulkOverrideAttendance

근태 일괄 변경

현장과 날짜 기준으로 근태를 일괄 변경합니다.


/management/attendance/bulk-override

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/management/attendance/bulk-override?siteCode=&date=&targetStatus="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.WorkerManagementApi;

import java.io.File;
import java.util.*;

public class WorkerManagementApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        WorkerManagementApi apiInstance = new WorkerManagementApi();
         siteCode = ; //  | 현장 코드
         date = ; //  | 기준 일자
         targetStatus = ; //  | 변경할 상태
        try {
            BaseResponseBulkResult result = apiInstance.bulkOverrideAttendance(siteCode, date, targetStatus);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkerManagementApi#bulkOverrideAttendance");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.WorkerManagementApi;

public class WorkerManagementApiExample {

    public static void main(String[] args) {
        WorkerManagementApi apiInstance = new WorkerManagementApi();
         siteCode = ; //  | 현장 코드
         date = ; //  | 기준 일자
         targetStatus = ; //  | 변경할 상태
        try {
            BaseResponseBulkResult result = apiInstance.bulkOverrideAttendance(siteCode, date, targetStatus);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkerManagementApi#bulkOverrideAttendance");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *siteCode = ; // 현장 코드
 *date = ; // 기준 일자
 *targetStatus = ; // 변경할 상태

WorkerManagementApi *apiInstance = [[WorkerManagementApi alloc] init];

// 근태 일괄 변경
[apiInstance bulkOverrideAttendanceWith:siteCode
    date:date
    targetStatus:targetStatus
              completionHandler: ^(BaseResponseBulkResult output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.WorkerManagementApi()
var siteCode = ; // {{}} 현장 코드
var date = ; // {{}} 기준 일자
var targetStatus = ; // {{}} 변경할 상태

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.bulkOverrideAttendance(siteCode, date, targetStatus, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class bulkOverrideAttendanceExample
    {
        public void main()
        {


            var apiInstance = new WorkerManagementApi();
            var siteCode = new (); //  | 현장 코드
            var date = new (); //  | 기준 일자
            var targetStatus = new (); //  | 변경할 상태

            try
            {
                // 근태 일괄 변경
                BaseResponseBulkResult result = apiInstance.bulkOverrideAttendance(siteCode, date, targetStatus);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WorkerManagementApi.bulkOverrideAttendance: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiWorkerManagementApi();
$siteCode = ; //  | 현장 코드
$date = ; //  | 기준 일자
$targetStatus = ; //  | 변경할 상태

try {
    $result = $api_instance->bulkOverrideAttendance($siteCode, $date, $targetStatus);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling WorkerManagementApi->bulkOverrideAttendance: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::WorkerManagementApi;


my $api_instance = WWW::SwaggerClient::WorkerManagementApi->new();
my $siteCode = ; #  | 현장 코드
my $date = ; #  | 기준 일자
my $targetStatus = ; #  | 변경할 상태

eval { 
    my $result = $api_instance->bulkOverrideAttendance(siteCode => $siteCode, date => $date, targetStatus => $targetStatus);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling WorkerManagementApi->bulkOverrideAttendance: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.WorkerManagementApi()
siteCode =  #  | 현장 코드
date =  #  | 기준 일자
targetStatus =  #  | 변경할 상태

try: 
    # 근태 일괄 변경
    api_response = api_instance.bulk_override_attendance(siteCode, date, targetStatus)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling WorkerManagementApi->bulkOverrideAttendance: %s\n" % e)

Parameters

Query parameters
Name Description
siteCode*
현장 코드
Required
date*
(date)
기준 일자
Required
targetStatus*
변경할 상태
Required

Responses

Status: 200 - 변경 성공


deployments

구역 배치 이력 조회

작업자의 구역 배치 확정 이력을 조회합니다.


/management/{workerIdx}/deployments

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/management/{workerIdx}/deployments"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.WorkerManagementApi;

import java.io.File;
import java.util.*;

public class WorkerManagementApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        WorkerManagementApi apiInstance = new WorkerManagementApi();
         workerIdx = ; //  | 작업자 ID
        try {
            BaseResponseListDeploymentRes result = apiInstance.deployments(workerIdx);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkerManagementApi#deployments");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.WorkerManagementApi;

public class WorkerManagementApiExample {

    public static void main(String[] args) {
        WorkerManagementApi apiInstance = new WorkerManagementApi();
         workerIdx = ; //  | 작업자 ID
        try {
            BaseResponseListDeploymentRes result = apiInstance.deployments(workerIdx);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkerManagementApi#deployments");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *workerIdx = ; // 작업자 ID

WorkerManagementApi *apiInstance = [[WorkerManagementApi alloc] init];

// 구역 배치 이력 조회
[apiInstance deploymentsWith:workerIdx
              completionHandler: ^(BaseResponseListDeploymentRes output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.WorkerManagementApi()
var workerIdx = ; // {{}} 작업자 ID

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.deployments(workerIdx, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class deploymentsExample
    {
        public void main()
        {


            var apiInstance = new WorkerManagementApi();
            var workerIdx = new (); //  | 작업자 ID

            try
            {
                // 구역 배치 이력 조회
                BaseResponseListDeploymentRes result = apiInstance.deployments(workerIdx);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WorkerManagementApi.deployments: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiWorkerManagementApi();
$workerIdx = ; //  | 작업자 ID

try {
    $result = $api_instance->deployments($workerIdx);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling WorkerManagementApi->deployments: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::WorkerManagementApi;


my $api_instance = WWW::SwaggerClient::WorkerManagementApi->new();
my $workerIdx = ; #  | 작업자 ID

eval { 
    my $result = $api_instance->deployments(workerIdx => $workerIdx);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling WorkerManagementApi->deployments: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.WorkerManagementApi()
workerIdx =  #  | 작업자 ID

try: 
    # 구역 배치 이력 조회
    api_response = api_instance.deployments(workerIdx)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling WorkerManagementApi->deployments: %s\n" % e)

Parameters

Path parameters
Name Description
workerIdx*
(int64)
작업자 ID
Required

Responses

Status: 200 - 조회 성공


detail

작업자 상세 프로필 조회

작업자의 기본 프로필 정보와 피로도를 조회합니다.


/management/{workerIdx}/detail

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/management/{workerIdx}/detail"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.WorkerManagementApi;

import java.io.File;
import java.util.*;

public class WorkerManagementApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        WorkerManagementApi apiInstance = new WorkerManagementApi();
         workerIdx = ; //  | 작업자 ID
        try {
            BaseResponseProfileRes result = apiInstance.detail(workerIdx);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkerManagementApi#detail");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.WorkerManagementApi;

public class WorkerManagementApiExample {

    public static void main(String[] args) {
        WorkerManagementApi apiInstance = new WorkerManagementApi();
         workerIdx = ; //  | 작업자 ID
        try {
            BaseResponseProfileRes result = apiInstance.detail(workerIdx);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkerManagementApi#detail");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *workerIdx = ; // 작업자 ID

WorkerManagementApi *apiInstance = [[WorkerManagementApi alloc] init];

// 작업자 상세 프로필 조회
[apiInstance detailWith:workerIdx
              completionHandler: ^(BaseResponseProfileRes output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.WorkerManagementApi()
var workerIdx = ; // {{}} 작업자 ID

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.detail(workerIdx, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class detailExample
    {
        public void main()
        {


            var apiInstance = new WorkerManagementApi();
            var workerIdx = new (); //  | 작업자 ID

            try
            {
                // 작업자 상세 프로필 조회
                BaseResponseProfileRes result = apiInstance.detail(workerIdx);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WorkerManagementApi.detail: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiWorkerManagementApi();
$workerIdx = ; //  | 작업자 ID

try {
    $result = $api_instance->detail($workerIdx);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling WorkerManagementApi->detail: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::WorkerManagementApi;


my $api_instance = WWW::SwaggerClient::WorkerManagementApi->new();
my $workerIdx = ; #  | 작업자 ID

eval { 
    my $result = $api_instance->detail(workerIdx => $workerIdx);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling WorkerManagementApi->detail: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.WorkerManagementApi()
workerIdx =  #  | 작업자 ID

try: 
    # 작업자 상세 프로필 조회
    api_response = api_instance.detail(workerIdx)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling WorkerManagementApi->detail: %s\n" % e)

Parameters

Path parameters
Name Description
workerIdx*
(int64)
작업자 ID
Required

Responses

Status: 200 - 조회 성공


docs

서류 현황 조회

작업자의 안전 서류 현황을 조회합니다.


/management/{workerIdx}/docs

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/management/{workerIdx}/docs"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.WorkerManagementApi;

import java.io.File;
import java.util.*;

public class WorkerManagementApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        WorkerManagementApi apiInstance = new WorkerManagementApi();
         workerIdx = ; //  | 작업자 ID
        try {
            BaseResponseListDocRes result = apiInstance.docs(workerIdx);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkerManagementApi#docs");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.WorkerManagementApi;

public class WorkerManagementApiExample {

    public static void main(String[] args) {
        WorkerManagementApi apiInstance = new WorkerManagementApi();
         workerIdx = ; //  | 작업자 ID
        try {
            BaseResponseListDocRes result = apiInstance.docs(workerIdx);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkerManagementApi#docs");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *workerIdx = ; // 작업자 ID

WorkerManagementApi *apiInstance = [[WorkerManagementApi alloc] init];

// 서류 현황 조회
[apiInstance docsWith:workerIdx
              completionHandler: ^(BaseResponseListDocRes output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.WorkerManagementApi()
var workerIdx = ; // {{}} 작업자 ID

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.docs(workerIdx, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class docsExample
    {
        public void main()
        {


            var apiInstance = new WorkerManagementApi();
            var workerIdx = new (); //  | 작업자 ID

            try
            {
                // 서류 현황 조회
                BaseResponseListDocRes result = apiInstance.docs(workerIdx);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WorkerManagementApi.docs: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiWorkerManagementApi();
$workerIdx = ; //  | 작업자 ID

try {
    $result = $api_instance->docs($workerIdx);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling WorkerManagementApi->docs: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::WorkerManagementApi;


my $api_instance = WWW::SwaggerClient::WorkerManagementApi->new();
my $workerIdx = ; #  | 작업자 ID

eval { 
    my $result = $api_instance->docs(workerIdx => $workerIdx);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling WorkerManagementApi->docs: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.WorkerManagementApi()
workerIdx =  #  | 작업자 ID

try: 
    # 서류 현황 조회
    api_response = api_instance.docs(workerIdx)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling WorkerManagementApi->docs: %s\n" % e)

Parameters

Path parameters
Name Description
workerIdx*
(int64)
작업자 ID
Required

Responses

Status: 200 - 조회 성공


gateClockIn

게이트 출근 인식

게이트에서 인식한 작업자의 출근을 기록합니다.


/management/attendance/gate-clock-in

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"http://192.100.200.111:8080/management/attendance/gate-clock-in"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.WorkerManagementApi;

import java.io.File;
import java.util.*;

public class WorkerManagementApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        WorkerManagementApi apiInstance = new WorkerManagementApi();
        GateClockInReq body = ; // GateClockInReq | 
        try {
            BaseResponseGateAttendanceRes result = apiInstance.gateClockIn(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkerManagementApi#gateClockIn");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.WorkerManagementApi;

public class WorkerManagementApiExample {

    public static void main(String[] args) {
        WorkerManagementApi apiInstance = new WorkerManagementApi();
        GateClockInReq body = ; // GateClockInReq | 
        try {
            BaseResponseGateAttendanceRes result = apiInstance.gateClockIn(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkerManagementApi#gateClockIn");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
GateClockInReq *body = ; // 

WorkerManagementApi *apiInstance = [[WorkerManagementApi alloc] init];

// 게이트 출근 인식
[apiInstance gateClockInWith:body
              completionHandler: ^(BaseResponseGateAttendanceRes output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.WorkerManagementApi()
var body = ; // {{GateClockInReq}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.gateClockIn(body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class gateClockInExample
    {
        public void main()
        {


            var apiInstance = new WorkerManagementApi();
            var body = new GateClockInReq(); // GateClockInReq | 

            try
            {
                // 게이트 출근 인식
                BaseResponseGateAttendanceRes result = apiInstance.gateClockIn(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WorkerManagementApi.gateClockIn: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiWorkerManagementApi();
$body = ; // GateClockInReq | 

try {
    $result = $api_instance->gateClockIn($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling WorkerManagementApi->gateClockIn: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::WorkerManagementApi;


my $api_instance = WWW::SwaggerClient::WorkerManagementApi->new();
my $body = WWW::SwaggerClient::Object::GateClockInReq->new(); # GateClockInReq | 

eval { 
    my $result = $api_instance->gateClockIn(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling WorkerManagementApi->gateClockIn: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.WorkerManagementApi()
body =  # GateClockInReq | 

try: 
    # 게이트 출근 인식
    api_response = api_instance.gate_clock_in(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling WorkerManagementApi->gateClockIn: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - 출근 기록 성공


gateClockOut

게이트 퇴근 인식

게이트에서 인식한 작업자의 퇴근을 기록합니다.


/management/attendance/gate-clock-out

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"http://192.100.200.111:8080/management/attendance/gate-clock-out"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.WorkerManagementApi;

import java.io.File;
import java.util.*;

public class WorkerManagementApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        WorkerManagementApi apiInstance = new WorkerManagementApi();
        GateClockOutReq body = ; // GateClockOutReq | 
        try {
            BaseResponseGateAttendanceRes result = apiInstance.gateClockOut(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkerManagementApi#gateClockOut");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.WorkerManagementApi;

public class WorkerManagementApiExample {

    public static void main(String[] args) {
        WorkerManagementApi apiInstance = new WorkerManagementApi();
        GateClockOutReq body = ; // GateClockOutReq | 
        try {
            BaseResponseGateAttendanceRes result = apiInstance.gateClockOut(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkerManagementApi#gateClockOut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
GateClockOutReq *body = ; // 

WorkerManagementApi *apiInstance = [[WorkerManagementApi alloc] init];

// 게이트 퇴근 인식
[apiInstance gateClockOutWith:body
              completionHandler: ^(BaseResponseGateAttendanceRes output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.WorkerManagementApi()
var body = ; // {{GateClockOutReq}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.gateClockOut(body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class gateClockOutExample
    {
        public void main()
        {


            var apiInstance = new WorkerManagementApi();
            var body = new GateClockOutReq(); // GateClockOutReq | 

            try
            {
                // 게이트 퇴근 인식
                BaseResponseGateAttendanceRes result = apiInstance.gateClockOut(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WorkerManagementApi.gateClockOut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiWorkerManagementApi();
$body = ; // GateClockOutReq | 

try {
    $result = $api_instance->gateClockOut($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling WorkerManagementApi->gateClockOut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::WorkerManagementApi;


my $api_instance = WWW::SwaggerClient::WorkerManagementApi->new();
my $body = WWW::SwaggerClient::Object::GateClockOutReq->new(); # GateClockOutReq | 

eval { 
    my $result = $api_instance->gateClockOut(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling WorkerManagementApi->gateClockOut: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.WorkerManagementApi()
body =  # GateClockOutReq | 

try: 
    # 게이트 퇴근 인식
    api_response = api_instance.gate_clock_out(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling WorkerManagementApi->gateClockOut: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - 퇴근 기록 성공


list7

작업자 목록 조회

페이징과 필터를 적용하여 작업자 목록을 조회합니다.


/management/list

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/management/list?siteCode=&date=&tradeName=&searchName=&page=&size="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.WorkerManagementApi;

import java.io.File;
import java.util.*;

public class WorkerManagementApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        WorkerManagementApi apiInstance = new WorkerManagementApi();
         siteCode = ; //  | 현장 코드
         date = ; //  | 기준 일자
         tradeName = ; //  | 공종명
         searchName = ; //  | 작업자 이름 검색어
         page = ; //  | 페이지 번호
         size = ; //  | 페이지 크기
        try {
            BaseResponseListRes result = apiInstance.list7(siteCode, date, tradeName, searchName, page, size);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkerManagementApi#list7");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.WorkerManagementApi;

public class WorkerManagementApiExample {

    public static void main(String[] args) {
        WorkerManagementApi apiInstance = new WorkerManagementApi();
         siteCode = ; //  | 현장 코드
         date = ; //  | 기준 일자
         tradeName = ; //  | 공종명
         searchName = ; //  | 작업자 이름 검색어
         page = ; //  | 페이지 번호
         size = ; //  | 페이지 크기
        try {
            BaseResponseListRes result = apiInstance.list7(siteCode, date, tradeName, searchName, page, size);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkerManagementApi#list7");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *siteCode = ; // 현장 코드 (optional)
 *date = ; // 기준 일자 (optional)
 *tradeName = ; // 공종명 (optional)
 *searchName = ; // 작업자 이름 검색어 (optional)
 *page = ; // 페이지 번호 (optional) (default to 0)
 *size = ; // 페이지 크기 (optional) (default to 20)

WorkerManagementApi *apiInstance = [[WorkerManagementApi alloc] init];

// 작업자 목록 조회
[apiInstance list7With:siteCode
    date:date
    tradeName:tradeName
    searchName:searchName
    page:page
    size:size
              completionHandler: ^(BaseResponseListRes output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.WorkerManagementApi()
var opts = { 
  'siteCode': , // {{}} 현장 코드
  'date': , // {{}} 기준 일자
  'tradeName': , // {{}} 공종명
  'searchName': , // {{}} 작업자 이름 검색어
  'page': , // {{}} 페이지 번호
  'size':  // {{}} 페이지 크기
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.list7(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class list7Example
    {
        public void main()
        {


            var apiInstance = new WorkerManagementApi();
            var siteCode = new (); //  | 현장 코드 (optional) 
            var date = new (); //  | 기준 일자 (optional) 
            var tradeName = new (); //  | 공종명 (optional) 
            var searchName = new (); //  | 작업자 이름 검색어 (optional) 
            var page = new (); //  | 페이지 번호 (optional)  (default to 0)
            var size = new (); //  | 페이지 크기 (optional)  (default to 20)

            try
            {
                // 작업자 목록 조회
                BaseResponseListRes result = apiInstance.list7(siteCode, date, tradeName, searchName, page, size);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WorkerManagementApi.list7: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiWorkerManagementApi();
$siteCode = ; //  | 현장 코드
$date = ; //  | 기준 일자
$tradeName = ; //  | 공종명
$searchName = ; //  | 작업자 이름 검색어
$page = ; //  | 페이지 번호
$size = ; //  | 페이지 크기

try {
    $result = $api_instance->list7($siteCode, $date, $tradeName, $searchName, $page, $size);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling WorkerManagementApi->list7: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::WorkerManagementApi;


my $api_instance = WWW::SwaggerClient::WorkerManagementApi->new();
my $siteCode = ; #  | 현장 코드
my $date = ; #  | 기준 일자
my $tradeName = ; #  | 공종명
my $searchName = ; #  | 작업자 이름 검색어
my $page = ; #  | 페이지 번호
my $size = ; #  | 페이지 크기

eval { 
    my $result = $api_instance->list7(siteCode => $siteCode, date => $date, tradeName => $tradeName, searchName => $searchName, page => $page, size => $size);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling WorkerManagementApi->list7: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.WorkerManagementApi()
siteCode =  #  | 현장 코드 (optional)
date =  #  | 기준 일자 (optional)
tradeName =  #  | 공종명 (optional)
searchName =  #  | 작업자 이름 검색어 (optional)
page =  #  | 페이지 번호 (optional) (default to 0)
size =  #  | 페이지 크기 (optional) (default to 20)

try: 
    # 작업자 목록 조회
    api_response = api_instance.list7(siteCode=siteCode, date=date, tradeName=tradeName, searchName=searchName, page=page, size=size)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling WorkerManagementApi->list7: %s\n" % e)

Parameters

Query parameters
Name Description
siteCode
현장 코드
date
(date)
기준 일자
tradeName
공종명
searchName
작업자 이름 검색어
page
(int32)
페이지 번호
size
(int32)
페이지 크기

Responses

Status: 200 - 조회 성공



seedDemoHistory

출결 더미 이력 시딩

데모용 출결 이력을 현장 단위로 생성합니다.


/management/attendance/seed-demo-history

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/management/attendance/seed-demo-history?siteCode="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.WorkerManagementApi;

import java.io.File;
import java.util.*;

public class WorkerManagementApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        WorkerManagementApi apiInstance = new WorkerManagementApi();
         siteCode = ; //  | 현장 코드
        try {
            BaseResponseSeedResult result = apiInstance.seedDemoHistory(siteCode);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkerManagementApi#seedDemoHistory");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.WorkerManagementApi;

public class WorkerManagementApiExample {

    public static void main(String[] args) {
        WorkerManagementApi apiInstance = new WorkerManagementApi();
         siteCode = ; //  | 현장 코드
        try {
            BaseResponseSeedResult result = apiInstance.seedDemoHistory(siteCode);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkerManagementApi#seedDemoHistory");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
 *siteCode = ; // 현장 코드

WorkerManagementApi *apiInstance = [[WorkerManagementApi alloc] init];

// 출결 더미 이력 시딩
[apiInstance seedDemoHistoryWith:siteCode
              completionHandler: ^(BaseResponseSeedResult output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.WorkerManagementApi()
var siteCode = ; // {{}} 현장 코드

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.seedDemoHistory(siteCode, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class seedDemoHistoryExample
    {
        public void main()
        {


            var apiInstance = new WorkerManagementApi();
            var siteCode = new (); //  | 현장 코드

            try
            {
                // 출결 더미 이력 시딩
                BaseResponseSeedResult result = apiInstance.seedDemoHistory(siteCode);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WorkerManagementApi.seedDemoHistory: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiWorkerManagementApi();
$siteCode = ; //  | 현장 코드

try {
    $result = $api_instance->seedDemoHistory($siteCode);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling WorkerManagementApi->seedDemoHistory: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::WorkerManagementApi;


my $api_instance = WWW::SwaggerClient::WorkerManagementApi->new();
my $siteCode = ; #  | 현장 코드

eval { 
    my $result = $api_instance->seedDemoHistory(siteCode => $siteCode);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling WorkerManagementApi->seedDemoHistory: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.WorkerManagementApi()
siteCode =  #  | 현장 코드

try: 
    # 출결 더미 이력 시딩
    api_response = api_instance.seed_demo_history(siteCode)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling WorkerManagementApi->seedDemoHistory: %s\n" % e)

Parameters

Query parameters
Name Description
siteCode*
현장 코드
Required

Responses

Status: 200 - 시딩 성공


syncAllSites

전체 현장 동기화 트리거

dndn-batch K8s Job을 실행하여 모든 현장의 인력 데이터를 동기화합니다.


/management/sync/all

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Bearer [[accessToken]]"\
-H "Accept: */*"\
"http://192.100.200.111:8080/management/sync/all"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.WorkerManagementApi;

import java.io.File;
import java.util.*;

public class WorkerManagementApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        WorkerManagementApi apiInstance = new WorkerManagementApi();
        try {
            BaseResponseString result = apiInstance.syncAllSites();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkerManagementApi#syncAllSites");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.WorkerManagementApi;

public class WorkerManagementApiExample {

    public static void main(String[] args) {
        WorkerManagementApi apiInstance = new WorkerManagementApi();
        try {
            BaseResponseString result = apiInstance.syncAllSites();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WorkerManagementApi#syncAllSites");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

WorkerManagementApi *apiInstance = [[WorkerManagementApi alloc] init];

// 전체 현장 동기화 트리거
[apiInstance syncAllSitesWithCompletionHandler: 
              ^(BaseResponseString output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var DndnCoreApi = require('dndn_core_api');
var defaultClient = DndnCoreApi.ApiClient.instance;


var api = new DndnCoreApi.WorkerManagementApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.syncAllSites(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class syncAllSitesExample
    {
        public void main()
        {


            var apiInstance = new WorkerManagementApi();

            try
            {
                // 전체 현장 동기화 트리거
                BaseResponseString result = apiInstance.syncAllSites();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WorkerManagementApi.syncAllSites: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiWorkerManagementApi();

try {
    $result = $api_instance->syncAllSites();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling WorkerManagementApi->syncAllSites: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::WorkerManagementApi;


my $api_instance = WWW::SwaggerClient::WorkerManagementApi->new();

eval { 
    my $result = $api_instance->syncAllSites();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling WorkerManagementApi->syncAllSites: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint


# create an instance of the API class
api_instance = swagger_client.WorkerManagementApi()

try: 
    # 전체 현장 동기화 트리거
    api_response = api_instance.sync_all_sites()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling WorkerManagementApi->syncAllSites: %s\n" % e)

Parameters

Responses

Status: 200 - 배치 트리거 성공