POST api/CargoRelease/Save

Request Information

URI Parameters

None.

Body Parameters

GetCargoReleaseInputModel
NameDescriptionTypeAdditional 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.

LocationTypes

Collection of GetCRLocationInputModel

None.

CustomFieldsWithValues

Collection of CustomFieldOutputModel

None.

InsertLinkedSOs

Collection of LinkSO

None.

DeletedLinkedSOs

Collection of LinkSO

None.

Request Formats

application/json, text/json

Sample:
{
  "CR_Id": "f95b7d9d-8982-4aca-b579-b9a96c7aa0d6",
  "WarehouseId": 2,
  "StatusId": 3,
  "CreatedDate": "2026-02-04T20:51:04.1880242-05:00",
  "ReleasedDate": "2026-02-04T20:51:04.1880242-05:00",
  "CR_No": "sample string 5",
  "CarrierId": 1,
  "ReleasedTo_ID": 1,
  "TrackingNo": "sample string 6",
  "ProNo": "sample string 7",
  "DriverId": 1,
  "LocationTypes": [
    {
      "LocationID": 1,
      "CompanyID": 1,
      "Site_ID": 1,
      "POC_ID": 1,
      "LocationTypeId": 1
    },
    {
      "LocationID": 1,
      "CompanyID": 1,
      "Site_ID": 1,
      "POC_ID": 1,
      "LocationTypeId": 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"
    }
  ],
  "InsertLinkedSOs": [
    {
      "SalesOrder_ID": "fe215384-3593-457a-87d2-795a2a8f9512",
      "SO_ID": "sample string 1",
      "SO_NO": "sample string 2"
    },
    {
      "SalesOrder_ID": "fe215384-3593-457a-87d2-795a2a8f9512",
      "SO_ID": "sample string 1",
      "SO_NO": "sample string 2"
    }
  ],
  "DeletedLinkedSOs": [
    {
      "SalesOrder_ID": "fe215384-3593-457a-87d2-795a2a8f9512",
      "SO_ID": "sample string 1",
      "SO_NO": "sample string 2"
    },
    {
      "SalesOrder_ID": "fe215384-3593-457a-87d2-795a2a8f9512",
      "SO_ID": "sample string 1",
      "SO_NO": "sample string 2"
    }
  ]
}

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>f95b7d9d-8982-4aca-b579-b9a96c7aa0d6</CR_Id>
  <CR_No>sample string 5</CR_No>
  <CarrierId>1</CarrierId>
  <CreatedDate>2026-02-04T20:51:04.1880242-05: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>
  <DeletedLinkedSOs>
    <LinkSO>
      <SO_ID>sample string 1</SO_ID>
      <SO_NO>sample string 2</SO_NO>
      <SalesOrder_ID>fe215384-3593-457a-87d2-795a2a8f9512</SalesOrder_ID>
    </LinkSO>
    <LinkSO>
      <SO_ID>sample string 1</SO_ID>
      <SO_NO>sample string 2</SO_NO>
      <SalesOrder_ID>fe215384-3593-457a-87d2-795a2a8f9512</SalesOrder_ID>
    </LinkSO>
  </DeletedLinkedSOs>
  <DriverId>1</DriverId>
  <InsertLinkedSOs>
    <LinkSO>
      <SO_ID>sample string 1</SO_ID>
      <SO_NO>sample string 2</SO_NO>
      <SalesOrder_ID>fe215384-3593-457a-87d2-795a2a8f9512</SalesOrder_ID>
    </LinkSO>
    <LinkSO>
      <SO_ID>sample string 1</SO_ID>
      <SO_NO>sample string 2</SO_NO>
      <SalesOrder_ID>fe215384-3593-457a-87d2-795a2a8f9512</SalesOrder_ID>
    </LinkSO>
  </InsertLinkedSOs>
  <LocationTypes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Cyzerg.Model.WMS.InputOutputModels">
    <d2p1:GetCRLocationInputModel>
      <d2p1:CompanyID>1</d2p1:CompanyID>
      <d2p1:LocationID>1</d2p1:LocationID>
      <d2p1:LocationTypeId>1</d2p1:LocationTypeId>
      <d2p1:POC_ID>1</d2p1:POC_ID>
      <d2p1:Site_ID>1</d2p1:Site_ID>
    </d2p1:GetCRLocationInputModel>
    <d2p1:GetCRLocationInputModel>
      <d2p1:CompanyID>1</d2p1:CompanyID>
      <d2p1:LocationID>1</d2p1:LocationID>
      <d2p1:LocationTypeId>1</d2p1:LocationTypeId>
      <d2p1:POC_ID>1</d2p1:POC_ID>
      <d2p1:Site_ID>1</d2p1:Site_ID>
    </d2p1:GetCRLocationInputModel>
  </LocationTypes>
  <ProNo>sample string 7</ProNo>
  <ReleasedDate>2026-02-04T20:51:04.1880242-05:00</ReleasedDate>
  <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":"f95b7d9d-8982-4aca-b579-b9a96c7aa0d6","WarehouseId":2,"StatusId":3,"CreatedDate":"2026-02-04T20:51:04.1880242-05:00","ReleasedDate":"2026-02-04T20:51:04.1880242-05:00","CR_No":"sample string 5","CarrierId":1,"ReleasedTo_ID":1,"TrackingNo":"sample string 6","ProNo":"sample string 7","DriverId":1,"LocationTypes":[{"LocationID":1,"CompanyID":1,"Site_ID":1,"POC_ID":1,"LocationTypeId":1},{"LocationID":1,"CompanyID":1,"Site_ID":1,"POC_ID":1,"LocationTypeId":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"}],"InsertLinkedSOs":[{"SalesOrder_ID":"fe215384-3593-457a-87d2-795a2a8f9512","SO_ID":"sample string 1","SO_NO":"sample string 2"},{"SalesOrder_ID":"fe215384-3593-457a-87d2-795a2a8f9512","SO_ID":"sample string 1","SO_NO":"sample string 2"}],"DeletedLinkedSOs":[{"SalesOrder_ID":"fe215384-3593-457a-87d2-795a2a8f9512","SO_ID":"sample string 1","SO_NO":"sample string 2"},{"SalesOrder_ID":"fe215384-3593-457a-87d2-795a2a8f9512","SO_ID":"sample string 1","SO_NO":"sample string 2"}]}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, text/html

Sample:

Sample not available.