POST api/Order/PostEditOrderDepartureEmptyRail
Request Information
URI Parameters
None.
Body Parameters
OrderDepartureEmptyRail| Name | Description | Type | Additional information |
|---|---|---|---|
| Request_Number | string |
None. |
|
| Agreement_Number | string |
None. |
|
| Agreement_Data | date |
None. |
|
| ETD_Start | date |
None. |
|
| ETD_End | date |
None. |
|
| CONTAINERS | OrderDepartureEmptyRailCONTAINERS |
None. |
|
| CONTRACTORS | Collection of contractor |
None. |
|
| Station_Code_To | string |
None. |
|
| Port_Code_To | string |
None. |
|
| Comment | string |
None. |
|
| ContactPerson | contact |
None. |
Request Formats
application/json, text/json
Sample:
{
"Request_Number": "sample string 1",
"Agreement_Number": "sample string 2",
"Agreement_Data": "2026-10-21T11:44:14.6153547+05:00",
"ETD_Start": "2026-10-21T11:44:14.6153547+05:00",
"ETD_End": "2026-10-21T11:44:14.6153547+05:00",
"CONTAINERS": {
"Container": {
"ContNumber": "sample string 1",
"ContQuantity": "sample string 2",
"ContType": "sample string 3",
"ContOwner": "sample string 4",
"Weight": 5.0,
"Tare": 6.0
}
},
"CONTRACTORS": [
{
"Contractor_Type": 0,
"Name": "sample string 1",
"INN": "sample string 2",
"TGNL": "sample string 3",
"OKPO": "sample string 4",
"Address": "sample string 5",
"SendersMarks": "sample string 6",
"Comment": "sample string 7"
},
{
"Contractor_Type": 0,
"Name": "sample string 1",
"INN": "sample string 2",
"TGNL": "sample string 3",
"OKPO": "sample string 4",
"Address": "sample string 5",
"SendersMarks": "sample string 6",
"Comment": "sample string 7"
}
],
"Station_Code_To": "sample string 6",
"Port_Code_To": "sample string 7",
"Comment": "sample string 8",
"ContactPerson": {
"FIO": "sample string 1",
"Phone": "sample string 2",
"Mail": "sample string 3"
}
}
application/xml, text/xml
Sample:
<OrderDepartureEmptyRail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiFit.ServiceReference">
<Agreement_Data>2026-10-21T11:44:14.6153547+05:00</Agreement_Data>
<Agreement_Number>sample string 2</Agreement_Number>
<CONTAINERS>
<Container>
<ContNumber>sample string 1</ContNumber>
<ContOwner>sample string 4</ContOwner>
<ContQuantity>sample string 2</ContQuantity>
<ContType>sample string 3</ContType>
<Tare>6</Tare>
<Weight>5</Weight>
</Container>
</CONTAINERS>
<CONTRACTORS>
<contractor>
<Address>sample string 5</Address>
<Comment>sample string 7</Comment>
<Contractor_Type>SH</Contractor_Type>
<INN>sample string 2</INN>
<Name>sample string 1</Name>
<OKPO>sample string 4</OKPO>
<SendersMarks>sample string 6</SendersMarks>
<TGNL>sample string 3</TGNL>
</contractor>
<contractor>
<Address>sample string 5</Address>
<Comment>sample string 7</Comment>
<Contractor_Type>SH</Contractor_Type>
<INN>sample string 2</INN>
<Name>sample string 1</Name>
<OKPO>sample string 4</OKPO>
<SendersMarks>sample string 6</SendersMarks>
<TGNL>sample string 3</TGNL>
</contractor>
</CONTRACTORS>
<Comment>sample string 8</Comment>
<ContactPerson>
<FIO>sample string 1</FIO>
<Mail>sample string 3</Mail>
<Phone>sample string 2</Phone>
</ContactPerson>
<ETD_End>2026-10-21T11:44:14.6153547+05:00</ETD_End>
<ETD_Start>2026-10-21T11:44:14.6153547+05:00</ETD_Start>
<Port_Code_To>sample string 7</Port_Code_To>
<Request_Number>sample string 1</Request_Number>
<Station_Code_To>sample string 6</Station_Code_To>
</OrderDepartureEmptyRail>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
OrderResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| EXT_Request_Number | string |
None. |
|
| INT_Request_Number | string |
None. |
|
| Request_Date | date |
None. |
Response Formats
application/json, text/json
Sample:
{
"EXT_Request_Number": "sample string 1",
"INT_Request_Number": "sample string 2",
"Request_Date": "2026-10-21T11:44:14.6153547+05:00"
}
application/xml, text/xml
Sample:
<OrderResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiFit.ServiceReference"> <EXT_Request_Number>sample string 1</EXT_Request_Number> <INT_Request_Number>sample string 2</INT_Request_Number> <Request_Date>2026-10-21T11:44:14.6153547+05:00</Request_Date> </OrderResponse>