POST api/CargoRelease/Save
Request Information
URI Parameters
None.
Body Parameters
GetCargoReleaseInputModelName | Description | Type | Additional information |
---|---|---|---|
CR_Id | globally unique identifier |
None. |
|
WarehouseId | integer |
Range: inclusive between 1 and 9.22337203685478E+18 |
|
StatusId | integer |
None. |
|
CreatedDate | date |
None. |
|
ReleasedDate | date |
None. |
|
CR_No | string |
None. |
|
CarrierId | integer |
None. |
|
ReleasedTo_ID | integer |
None. |
|
TrackingNo | string |
None. |
|
ProNo | string |
None. |
|
DriverId | integer |
None. |
|
PoNo | string |
None. |
|
ReleasedToLocation | GetCRLocationInputModel |
None. |
|
CustomFieldsWithValues | Collection of CustomFieldOutputModel |
None. |
Request Formats
application/json, text/json
Sample:
{ "CR_Id": "da2dcc7e-1a64-4121-b56d-1ae954e89820", "WarehouseId": 2, "StatusId": 3, "CreatedDate": "2025-08-02T14:11:32.2070349-04:00", "ReleasedDate": "2025-08-02T14:11:32.2070349-04:00", "CR_No": "sample string 5", "CarrierId": 1, "ReleasedTo_ID": 1, "TrackingNo": "sample string 6", "ProNo": "sample string 7", "DriverId": 1, "PoNo": "sample string 8", "ReleasedToLocation": { "LocationId": 1, "CompanyId": 1, "SiteId": 1, "POCId": 1 }, "CustomFieldsWithValues": [ { "FormFieldId": 1, "FormFieldName": "sample string 2", "FormFieldDisplayName": "sample string 3", "FormFieldTypeId": 4, "FormFieldAttributeId": 1, "FormFieldAttributeValue": "sample string 5" }, { "FormFieldId": 1, "FormFieldName": "sample string 2", "FormFieldDisplayName": "sample string 3", "FormFieldTypeId": 4, "FormFieldAttributeId": 1, "FormFieldAttributeValue": "sample string 5" } ] }
application/xml, text/xml
Sample:
<GetCargoReleaseInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyzerg.Model.WMS"> <CR_Id>da2dcc7e-1a64-4121-b56d-1ae954e89820</CR_Id> <CR_No>sample string 5</CR_No> <CarrierId>1</CarrierId> <CreatedDate>2025-08-02T14:11:32.2070349-04:00</CreatedDate> <CustomFieldsWithValues xmlns:d2p1="http://schemas.datacontract.org/2004/07/Cyzerg.Model.WMS.InputOutputModels"> <d2p1:CustomFieldOutputModel> <d2p1:FormFieldAttributeId>1</d2p1:FormFieldAttributeId> <d2p1:FormFieldAttributeValue>sample string 5</d2p1:FormFieldAttributeValue> <d2p1:FormFieldDisplayName>sample string 3</d2p1:FormFieldDisplayName> <d2p1:FormFieldId>1</d2p1:FormFieldId> <d2p1:FormFieldName>sample string 2</d2p1:FormFieldName> <d2p1:FormFieldTypeId>4</d2p1:FormFieldTypeId> </d2p1:CustomFieldOutputModel> <d2p1:CustomFieldOutputModel> <d2p1:FormFieldAttributeId>1</d2p1:FormFieldAttributeId> <d2p1:FormFieldAttributeValue>sample string 5</d2p1:FormFieldAttributeValue> <d2p1:FormFieldDisplayName>sample string 3</d2p1:FormFieldDisplayName> <d2p1:FormFieldId>1</d2p1:FormFieldId> <d2p1:FormFieldName>sample string 2</d2p1:FormFieldName> <d2p1:FormFieldTypeId>4</d2p1:FormFieldTypeId> </d2p1:CustomFieldOutputModel> </CustomFieldsWithValues> <DriverId>1</DriverId> <PoNo>sample string 8</PoNo> <ProNo>sample string 7</ProNo> <ReleasedDate>2025-08-02T14:11:32.2070349-04:00</ReleasedDate> <ReleasedToLocation xmlns:d2p1="http://schemas.datacontract.org/2004/07/Cyzerg.Model.WMS.InputOutputModels"> <d2p1:CompanyId>1</d2p1:CompanyId> <d2p1:LocationId>1</d2p1:LocationId> <d2p1:POCId>1</d2p1:POCId> <d2p1:SiteId>1</d2p1:SiteId> </ReleasedToLocation> <ReleasedTo_ID>1</ReleasedTo_ID> <StatusId>3</StatusId> <TrackingNo>sample string 6</TrackingNo> <WarehouseId>2</WarehouseId> </GetCargoReleaseInputModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"CR_Id":"da2dcc7e-1a64-4121-b56d-1ae954e89820","WarehouseId":2,"StatusId":3,"CreatedDate":"2025-08-02T14:11:32.2070349-04:00","ReleasedDate":"2025-08-02T14:11:32.2070349-04:00","CR_No":"sample string 5","CarrierId":1,"ReleasedTo_ID":1,"TrackingNo":"sample string 6","ProNo":"sample string 7","DriverId":1,"PoNo":"sample string 8","ReleasedToLocation":{"LocationId":1,"CompanyId":1,"SiteId":1,"POCId":1},"CustomFieldsWithValues":[{"FormFieldId":1,"FormFieldName":"sample string 2","FormFieldDisplayName":"sample string 3","FormFieldTypeId":4,"FormFieldAttributeId":1,"FormFieldAttributeValue":"sample string 5"},{"FormFieldId":1,"FormFieldName":"sample string 2","FormFieldDisplayName":"sample string 3","FormFieldTypeId":4,"FormFieldAttributeId":1,"FormFieldAttributeValue":"sample string 5"}]}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.