POST api/CHAImpMstrs/PostSWMaster
Request Information
URI Parameters
None.
Body Parameters
CHASWMasterInput| Name | Description | Type | Additional information |
|---|---|---|---|
| SW_ID | integer |
None. |
|
| SW_CP_ID | integer |
None. |
|
| SW_CODE | string |
None. |
|
| SW_SHORT_CODE | string |
None. |
|
| SW_NAME | string |
None. |
|
| SW_ADD | string |
None. |
|
| SW_CITY | string |
None. |
|
| SW_ST_ID | integer |
None. |
|
| SW_ST_CODE | string |
None. |
|
| SW_CO_ID | integer |
None. |
|
| SW_CO_CODE | string |
None. |
|
| SW_JURIS | string |
None. |
|
| SW_WORK_MODE | string |
None. |
|
| SW_CREATED_BY | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"SW_ID": 1,
"SW_CP_ID": 1,
"SW_CODE": "sample string 1",
"SW_SHORT_CODE": "sample string 2",
"SW_NAME": "sample string 3",
"SW_ADD": "sample string 4",
"SW_CITY": "sample string 5",
"SW_ST_ID": 1,
"SW_ST_CODE": "sample string 6",
"SW_CO_ID": 1,
"SW_CO_CODE": "sample string 7",
"SW_JURIS": "sample string 8",
"SW_WORK_MODE": "sample string 9",
"SW_CREATED_BY": 1
}
application/xml, text/xml
Sample:
<CHASWMasterInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZealitAPI.Models"> <SW_ADD>sample string 4</SW_ADD> <SW_CITY>sample string 5</SW_CITY> <SW_CODE>sample string 1</SW_CODE> <SW_CO_CODE>sample string 7</SW_CO_CODE> <SW_CO_ID>1</SW_CO_ID> <SW_CP_ID>1</SW_CP_ID> <SW_CREATED_BY>1</SW_CREATED_BY> <SW_ID>1</SW_ID> <SW_JURIS>sample string 8</SW_JURIS> <SW_NAME>sample string 3</SW_NAME> <SW_SHORT_CODE>sample string 2</SW_SHORT_CODE> <SW_ST_CODE>sample string 6</SW_ST_CODE> <SW_ST_ID>1</SW_ST_ID> <SW_WORK_MODE>sample string 9</SW_WORK_MODE> </CHASWMasterInput>
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. |