POST api/Master/PostChgCodeToGlMapping
Request Information
URI Parameters
None.
Body Parameters
InputChgcode| Name | Description | Type | Additional information |
|---|---|---|---|
| CGM_ID | integer |
None. |
|
| CGM_CHG_ID | integer |
None. |
|
| CGM_PR_REV_GL | integer |
None. |
|
| CGM_PR_EXP_GL | integer |
None. |
|
| CGM_AG_REV_GL | integer |
None. |
|
| CGM_AG_EXP_GL | integer |
None. |
|
| CGM_SHIP_TYPE | string |
None. |
|
| CGM_BL_TYPE | string |
None. |
|
| CGM_VALID_FROM | date |
None. |
|
| CGM_CREATED_BY | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"CGM_ID": 1,
"CGM_CHG_ID": 1,
"CGM_PR_REV_GL": 1,
"CGM_PR_EXP_GL": 1,
"CGM_AG_REV_GL": 1,
"CGM_AG_EXP_GL": 1,
"CGM_SHIP_TYPE": "sample string 1",
"CGM_BL_TYPE": "sample string 2",
"CGM_VALID_FROM": "2025-12-06T04:23:01.3155466+00:00",
"CGM_CREATED_BY": 1
}
application/xml, text/xml
Sample:
<InputChgcode xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZealitAPI.Models"> <CGM_AG_EXP_GL>1</CGM_AG_EXP_GL> <CGM_AG_REV_GL>1</CGM_AG_REV_GL> <CGM_BL_TYPE>sample string 2</CGM_BL_TYPE> <CGM_CHG_ID>1</CGM_CHG_ID> <CGM_CREATED_BY>1</CGM_CREATED_BY> <CGM_ID>1</CGM_ID> <CGM_PR_EXP_GL>1</CGM_PR_EXP_GL> <CGM_PR_REV_GL>1</CGM_PR_REV_GL> <CGM_SHIP_TYPE>sample string 1</CGM_SHIP_TYPE> <CGM_VALID_FROM>2025-12-06T04:23:01.3155466+00:00</CGM_VALID_FROM> </InputChgcode>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |