POST api/Master/PostTerminalMaster
Request Information
URI Parameters
None.
Body Parameters
TerminalMaster| Name | Description | Type | Additional information |
|---|---|---|---|
| TR_ID | integer |
None. |
|
| TR_CODE | string |
None. |
|
| TR_NAME | string |
None. |
|
| TR_PT_ID | integer |
None. |
|
| TR_AP_ID | integer |
None. |
|
| TR_STATUS | string |
None. |
|
| TR_PROGRAM_ID | string |
None. |
|
| TR_CREATED_BY | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"TR_ID": 1,
"TR_CODE": "sample string 1",
"TR_NAME": "sample string 2",
"TR_PT_ID": 1,
"TR_AP_ID": 1,
"TR_STATUS": "sample string 3",
"TR_PROGRAM_ID": "sample string 4",
"TR_CREATED_BY": "sample string 5"
}
application/xml, text/xml
Sample:
<TerminalMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZealitAPI.Models"> <TR_AP_ID>1</TR_AP_ID> <TR_CODE>sample string 1</TR_CODE> <TR_CREATED_BY>sample string 5</TR_CREATED_BY> <TR_ID>1</TR_ID> <TR_NAME>sample string 2</TR_NAME> <TR_PROGRAM_ID>sample string 4</TR_PROGRAM_ID> <TR_PT_ID>1</TR_PT_ID> <TR_STATUS>sample string 3</TR_STATUS> </TerminalMaster>
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. |