POST api/workorder/create
Request Information
URI Parameters
None.
Body Parameters
WorkOrder| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| CARD_NUMBER | string |
None. |
|
| SINO | string |
None. |
|
| DMNO | string |
None. |
|
| WOTYPE | string |
None. |
|
| STORAGE_LOCATION | string |
None. |
|
| CONTAINERNO | string |
None. |
|
| SEAL_NO | string |
None. |
|
| CHASSIS | string |
None. |
|
| HEADTRUCK | string |
None. |
|
| DRIVER_NAME | string |
None. |
|
| TRUCKER_NAME | string |
None. |
|
| CONTR_SIZE | string |
None. |
|
| CONTR_TYPE | string |
None. |
|
| ENTRY_DATE | date |
None. |
|
| ENTRY_DATESHORT | string |
None. |
|
| ENTRY_TIME | string |
None. |
|
| ENTRY_NAME | string |
None. |
|
| ENTRY_DATE2 | date |
None. |
|
| ENTRY_DATESHORT2 | string |
None. |
|
| ENTRY_NAME2 | string |
None. |
|
| STATUS | string |
None. |
|
| REMARK | string |
None. |
|
| STATUS_DATE | date |
None. |
|
| READYTOPRINT_DATE | date |
None. |
|
| READYTOPRINT_DATESHORT | string |
None. |
|
| IS_PRINTED | boolean |
None. |
|
| OUT_TRANSACTID | string |
None. |
|
| SJ_NO | string |
None. |
|
| PRINT_BY | string |
None. |
|
| PRINT_DATE | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"CARD_NUMBER": "sample string 2",
"SINO": "sample string 3",
"DMNO": "sample string 4",
"WOTYPE": "sample string 5",
"STORAGE_LOCATION": "sample string 6",
"CONTAINERNO": "sample string 7",
"SEAL_NO": "sample string 8",
"CHASSIS": "sample string 9",
"HEADTRUCK": "sample string 10",
"DRIVER_NAME": "sample string 11",
"TRUCKER_NAME": "sample string 12",
"CONTR_SIZE": "sample string 13",
"CONTR_TYPE": "sample string 14",
"ENTRY_DATE": "2026-11-26T09:04:24.6583139+07:00",
"ENTRY_DATESHORT": "sample string 15",
"ENTRY_TIME": "sample string 16",
"ENTRY_NAME": "sample string 17",
"ENTRY_DATE2": "2026-11-26T09:04:24.6583139+07:00",
"ENTRY_DATESHORT2": "sample string 18",
"ENTRY_NAME2": "sample string 19",
"STATUS": "sample string 20",
"REMARK": "sample string 21",
"STATUS_DATE": "2026-11-26T09:04:24.6583139+07:00",
"READYTOPRINT_DATE": "2026-11-26T09:04:24.6583139+07:00",
"READYTOPRINT_DATESHORT": "sample string 22",
"IS_PRINTED": true,
"OUT_TRANSACTID": "sample string 24",
"SJ_NO": "sample string 25",
"PRINT_BY": "sample string 26",
"PRINT_DATE": "2026-11-26T09:04:24.6583139+07:00"
}
application/xml, text/xml
Sample:
<WorkOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TpsAPI.Models"> <CARD_NUMBER>sample string 2</CARD_NUMBER> <CHASSIS>sample string 9</CHASSIS> <CONTAINERNO>sample string 7</CONTAINERNO> <CONTR_SIZE>sample string 13</CONTR_SIZE> <CONTR_TYPE>sample string 14</CONTR_TYPE> <DMNO>sample string 4</DMNO> <DRIVER_NAME>sample string 11</DRIVER_NAME> <ENTRY_DATE>2026-11-26T09:04:24.6583139+07:00</ENTRY_DATE> <ENTRY_DATE2>2026-11-26T09:04:24.6583139+07:00</ENTRY_DATE2> <ENTRY_DATESHORT>sample string 15</ENTRY_DATESHORT> <ENTRY_DATESHORT2>sample string 18</ENTRY_DATESHORT2> <ENTRY_NAME>sample string 17</ENTRY_NAME> <ENTRY_NAME2>sample string 19</ENTRY_NAME2> <ENTRY_TIME>sample string 16</ENTRY_TIME> <HEADTRUCK>sample string 10</HEADTRUCK> <ID>1</ID> <IS_PRINTED>true</IS_PRINTED> <OUT_TRANSACTID>sample string 24</OUT_TRANSACTID> <PRINT_BY>sample string 26</PRINT_BY> <PRINT_DATE>2026-11-26T09:04:24.6583139+07:00</PRINT_DATE> <READYTOPRINT_DATE>2026-11-26T09:04:24.6583139+07:00</READYTOPRINT_DATE> <READYTOPRINT_DATESHORT>sample string 22</READYTOPRINT_DATESHORT> <REMARK>sample string 21</REMARK> <SEAL_NO>sample string 8</SEAL_NO> <SINO>sample string 3</SINO> <SJ_NO>sample string 25</SJ_NO> <STATUS>sample string 20</STATUS> <STATUS_DATE>2026-11-26T09:04:24.6583139+07:00</STATUS_DATE> <STORAGE_LOCATION>sample string 6</STORAGE_LOCATION> <TRUCKER_NAME>sample string 12</TRUCKER_NAME> <WOTYPE>sample string 5</WOTYPE> </WorkOrder>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.