POST api/CARGO/OrderAttachment
Request Information
URI Parameters
None.
Body Parameters
CARGOAttachmentName | Description | Type | Additional information |
---|---|---|---|
OrderNo | string |
None. |
|
ActivityGroupCode | string |
None. |
|
ActivityAttachment | Photo |
None. |
Request Formats
application/json, text/json
Sample:
{ "OrderNo": "sample string 1", "ActivityGroupCode": "sample string 2", "ActivityAttachment": { "FileName": "sample string 1", "Base64": "sample string 2", "Description": "sample string 3", "Longitude": 1.1, "Latitude": 1.1 } }
text/xml
Sample:
<CARGOAttachment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebSerivce.Models"> <ActivityAttachment> <Base64>sample string 2</Base64> <Description>sample string 3</Description> <FileName>sample string 1</FileName> <Latitude>1.1</Latitude> <Longitude>1.1</Longitude> </ActivityAttachment> <ActivityGroupCode>sample string 2</ActivityGroupCode> <OrderNo>sample string 1</OrderNo> </CARGOAttachment>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/xml
Sample:
Sample not available.