Job grade v1
    • PDF

    Job grade v1

    • PDF

    Article Summary

    Description

    Sets job grade information for your company in WORKPLACE.

    Addition API

    Adds job grade information.

    Request URL

    POST https://workplace.apigw.ntruss.com/organization/apigw/v1/company/{companyId}/grade/{externalKey}
    

    Request headers

    HeaderDescription
    x-ncp-apigw-timestampShows the time elapsed since January 1, 1970 00:00:00 UTC.
    If the time differs from that of the API Gateway server by 5 minutes or more, the request is considered invalid.
    x-ncp-apigw-timestamp:{Timestamp}
    x-ncp-apigw-api-keyKey issued by APIGW
    x-ncp-apigw-api-key:{API Gateway API Key}
    x-ncp-iam-access-keyThis is the Access Key ID value issued by the NAVER CLOUD PLATFORM portal.
    x-ncp-iam-access-key:{Account Access Key}
    x-ncp-apigw-signature-v1This is the signature encrypted with the Access Key ID value and Secret Key.
    x-ncp-apigw-signature-v1:{API Gateway Signature}
    Content-TypeRequest body content type is specified as application/json
    Content-Type: application/json

    Request path parameters

    ParameterTypeLengthMandatoryDescription
    companyIdString36YAPI key (CompanyId) Developers > Basic Settings > API Key
    externalKeyString36YJob grade external key

    Request body parameters

    ParameterTypeSizeRequiredDescription
    nameString100YJob grade
    i18nNamesMapNJob grade Name in multiple languages Map<Locale, String> i18nNames
    sortOrdintYDisplay order of job grades

    Request Example

    POST https://workplace.apigw.ntruss.com/organization/apigw/v1/company/578c7009-bdad-4493-9835-72302cf988c6/grade/0000001
    
    POST /organization/apigw/v1/company/578c7009-bdad-4493-9835-72302cf988c6/grade/0000001
    HOST: workplace.apigw.ntruss.com
    Content-Type: application/json
    x-ncp-apigw-timestamp: 1505290625682
    x-ncp-apigw-api-key: DUxjP4HYTP8V7khBkgywdDHQjKuaYWGrppHKpvdv
    x-ncp-iam-access-key: D78BB444D6D3C84CA38A
    x-ncp-apigw-signature-v1: WTPItrmMIfLUk/UyUIyoQbA/z5hq9o3G8eQMolUzTEo=
    {
    	"sortOrd": 91,
        "name": "사원",
    	"i18nNames": {
    			"ko_KR": "사원",
    			"en_US": "Assist"
    		}
    
    }
    

    Response Example

    HTTP/1.1 201 OK
    Server: nginx
    Date: Wed, 12 Sep 2020 01:18:11 GMT
    Content-Type: application/json;charset=utf-8
    Transfer-Encoding: chunked
    Connection: keep-alive
    Access-Control-Allow-Origin: *
    x-ncp-trace-id: 68d1o68pm4cr63gc3169gm4p34
    
    {
    	"sortOrd": 91,
        "name": "사원",
    	"i18nNames": {
    			"ko_KR": "사원",
    			"en_US": "Assist"
    		}
    
    }
    

    Edit API

    Edits job grade information.

    Request URL

    PUT https://workplace.apigw.ntruss.com/organization/apigw/v1/company/{companyId}/grade/{externalKey}
    

    Request headers

    HeaderDescription
    x-ncp-apigw-timestampShows the time elapsed since January 1, 1970 00:00:00 UTC.
    If the time differs from that of the API Gateway server by 5 minutes or more, the request is considered invalid.
    x-ncp-apigw-timestamp:{Timestamp}
    x-ncp-apigw-api-keyKey issued by APIGW
    x-ncp-apigw-api-key:{API Gateway API Key}
    x-ncp-iam-access-keyThis is the Access Key ID value issued by the NAVER CLOUD PLATFORM portal.
    x-ncp-iam-access-key:{Account Access Key}
    x-ncp-apigw-signature-v1This is the signature encrypted with the Access Key ID value and Secret Key.
    x-ncp-apigw-signature-v1:{API Gateway Signature}
    Content-TypeRequest body content type is specified as application/json
    Content-Type: application/json

    Request path parameters

    ParameterTypeSizeRequiredDescription
    companyIdString36YAPI key (CompanyId) Developers > Basic Settings > API Key
    externalKeyString36YJob grade external key

    Request body parameters

    ParameterTypeSizeRequiredDescription
    nameString100YJob grade
    i18nNamesMapNJob grade Name in multiple languages Map<Locale, String> i18nNames
    sortOrdintYDisplay order of job grades

    Request Example

    POST https://workplace.apigw.ntruss.com/organization/apigw/v1/company/578c7009-bdad-4493-9835-72302cf988c6/grade/0000001
    
    POST /organization/apigw/v1/company/578c7009-bdad-4493-9835-72302cf988c6/grade/0000001
    HOST: workplace.apigw.ntruss.com
    Content-Type: application/json
    x-ncp-apigw-timestamp: 1505290625682
    x-ncp-apigw-api-key: DUxjP4HYTP8V7khBkgywdDHQjKuaYWGrppHKpvdv
    x-ncp-iam-access-key: D78BB444D6D3C84CA38A
    x-ncp-apigw-signature-v1: WTPItrmMIfLUk/UyUIyoQbA/z5hq9o3G8eQMolUzTEo=
    {
    	"sortOrd": 91,
        "name": "사원",
    	"i18nNames": {
    			"ko_KR": "사원",
    			"en_US": "Assist"
    		}
    
    }
    

    Response Example

    HTTP/1.1 200 OK
    Server: nginx
    Date: Wed, 12 Sep 2020 01:18:11 GMT
    Content-Type: application/json;charset=utf-8
    Transfer-Encoding: chunked
    Connection: keep-alive
    Access-Control-Allow-Origin: *
    x-ncp-trace-id: 68d1o68pm4cr63gc3169gm4p34
    
    {
    	"sortOrd": 91,
        "name": "사원",
    	"i18nNames": {
    			"ko_KR": "사원",
    			"en_US": "Assist"
    		}
    
    }
    

    Delete API

    Deletes job grade information.

    Request URL

    DELETE https://workplace.apigw.ntruss.com/organization/apigw/v1/company/{companyId}/grade/{externalKey}
    

    Request headers

    HeaderDescription
    x-ncp-apigw-timestampShows the time elapsed since January 1, 1970 00:00:00 UTC.
    If the time differs from that of the API Gateway server by 5 minutes or more, the request is considered invalid.
    x-ncp-apigw-timestamp:{Timestamp}
    x-ncp-apigw-api-keyKey issued by APIGW
    x-ncp-apigw-api-key:{API Gateway API Key}
    x-ncp-iam-access-keyThis is the Access Key ID value issued by the NAVER CLOUD PLATFORM portal.
    x-ncp-iam-access-key:{Account Access Key}
    x-ncp-apigw-signature-v1This is the signature encrypted with the Access Key ID value and Secret Key.
    x-ncp-apigw-signature-v1:{API Gateway Signature}
    Content-TypeRequest body content type is specified as application/json
    Content-Type: application/json

    Request path parameters

    ParameterTypeSizeRequiredDescription
    companyIdString36YAPI key (CompanyId) Developers > Basic Settings > API Key
    externalKeyString36YJob grade external key

    Response

    Returned as HTTP status code in the response body.

    HTTP status codeResponse messageDescription
    200OKSuccess
    201CreatedResource successfully created
    400Bad RequestFailure (usually used to respond to a request format that the server cannot understand.)
    500Internal Server ErrorGeneral server error. Where 4xx error codes represent client-side errors,
    5xx error codes represent server-side errors.

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.