POST api/_int/ExternalShips/CedeParcel
Request Information
URI Parameters
None.
Body Parameters
CedeParcelViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| VISIT_SEQUENCE_FROM | decimal number |
None. |
|
| PARCEL_SEQUENCE_FROM | decimal number |
None. |
|
| GRADES | Collection of string |
None. |
|
| USER_NAME_TO | string |
None. |
|
| USER_NAME_FROM | string |
None. |
|
| NOMINATED_TONS | decimal number |
None. |
|
| TONS_TO_CEDE | decimal number |
None. |
|
| TONS_TO_KEEP | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"VISIT_SEQUENCE_FROM": 1.0,
"PARCEL_SEQUENCE_FROM": 2.0,
"GRADES": [
"sample string 1",
"sample string 2"
],
"USER_NAME_TO": "sample string 3",
"USER_NAME_FROM": "sample string 4",
"NOMINATED_TONS": 5.0,
"TONS_TO_CEDE": 6.0,
"TONS_TO_KEEP": 7.0
}
application/xml, text/xml
Sample:
<CedeParcelViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RBCT.Core.ViewModels">
<GRADES xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</GRADES>
<NOMINATED_TONS>5</NOMINATED_TONS>
<PARCEL_SEQUENCE_FROM>2</PARCEL_SEQUENCE_FROM>
<TONS_TO_CEDE>6</TONS_TO_CEDE>
<TONS_TO_KEEP>7</TONS_TO_KEEP>
<USER_NAME_FROM>sample string 4</USER_NAME_FROM>
<USER_NAME_TO>sample string 3</USER_NAME_TO>
<VISIT_SEQUENCE_FROM>1</VISIT_SEQUENCE_FROM>
</CedeParcelViewModel>
multipart/form-data
Sample:
<CedeParcelViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RBCT.Core.ViewModels"><GRADES xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"><d2p1:string>sample string 1</d2p1:string><d2p1:string>sample string 2</d2p1:string></GRADES><NOMINATED_TONS>5</NOMINATED_TONS><PARCEL_SEQUENCE_FROM>2</PARCEL_SEQUENCE_FROM><TONS_TO_CEDE>6</TONS_TO_CEDE><TONS_TO_KEEP>7</TONS_TO_KEEP><USER_NAME_FROM>sample string 4</USER_NAME_FROM><USER_NAME_TO>sample string 3</USER_NAME_TO><VISIT_SEQUENCE_FROM>1</VISIT_SEQUENCE_FROM></CedeParcelViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, multipart/form-data
Sample:
Sample not available.