POST api/WarehouseReceipts/Save

Request Information

URI Parameters

None.

Body Parameters

GetWarehouseReceiptInputModel
NameDescriptionTypeAdditional information
WR_Id

globally unique identifier

None.

WarehouseId

integer

Range: inclusive between 1 and 9.22337203685478E+18

StatusId

integer

None.

CreatedDate

date

None.

WR_No

string

None.

CarrierId

integer

None.

ReceivingTypeId

integer

None.

EntryNo

string

None.

EntryDate

date

None.

TrackingNo

string

None.

ProNo

string

None.

DriverId

integer

None.

NumberOfPieces

integer

None.

InvoiceNo

string

None.

PoNo

string

None.

LocationTypes

Collection of GetLocationTypeInputModel

None.

UpdatedCustomFields

Collection of CustomFields

None.

CustomFieldsWithValues

Collection of CustomFieldOutputModel

None.

ChangedLocationTypes

Collection of string

None.

InsertLinkedPOs

Collection of LinkPO

None.

DeletedLinkedPOs

Collection of LinkPO

None.

NumberOfPOItems

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "WR_Id": "f9c181ac-c20a-4d90-abc9-017b6cdcc529",
  "WarehouseId": 2,
  "StatusId": 3,
  "CreatedDate": "2025-08-02T14:14:35.2858764-04:00",
  "WR_No": "sample string 5",
  "CarrierId": 1,
  "ReceivingTypeId": 1,
  "EntryNo": "sample string 6",
  "EntryDate": "2025-08-02T14:14:35.2858764-04:00",
  "TrackingNo": "sample string 7",
  "ProNo": "sample string 8",
  "DriverId": 1,
  "NumberOfPieces": 1,
  "InvoiceNo": "sample string 9",
  "PoNo": "sample string 10",
  "LocationTypes": [
    {
      "LocationId": 1,
      "CompanyId": 1,
      "SiteId": 1,
      "POCId": 1,
      "LocationTypeId": 1
    },
    {
      "LocationId": 1,
      "CompanyId": 1,
      "SiteId": 1,
      "POCId": 1,
      "LocationTypeId": 1
    }
  ],
  "UpdatedCustomFields": [
    {
      "Id": 1,
      "ChangedLocationTypes": [
        "sample string 1",
        "sample string 2"
      ]
    },
    {
      "Id": 1,
      "ChangedLocationTypes": [
        "sample string 1",
        "sample string 2"
      ]
    }
  ],
  "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"
    }
  ],
  "ChangedLocationTypes": [
    "sample string 1",
    "sample string 2"
  ],
  "InsertLinkedPOs": [
    {
      "PurchaseOrder_ID": "4de77562-6c39-4628-9f7e-439cd95a1e39",
      "PO_ID": "sample string 1",
      "PO_NO": "sample string 2"
    },
    {
      "PurchaseOrder_ID": "4de77562-6c39-4628-9f7e-439cd95a1e39",
      "PO_ID": "sample string 1",
      "PO_NO": "sample string 2"
    }
  ],
  "DeletedLinkedPOs": [
    {
      "PurchaseOrder_ID": "4de77562-6c39-4628-9f7e-439cd95a1e39",
      "PO_ID": "sample string 1",
      "PO_NO": "sample string 2"
    },
    {
      "PurchaseOrder_ID": "4de77562-6c39-4628-9f7e-439cd95a1e39",
      "PO_ID": "sample string 1",
      "PO_NO": "sample string 2"
    }
  ],
  "NumberOfPOItems": 11
}

application/xml, text/xml

Sample:
<GetWarehouseReceiptInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyzerg.Model.WMS">
  <CarrierId>1</CarrierId>
  <ChangedLocationTypes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ChangedLocationTypes>
  <CreatedDate>2025-08-02T14:14:35.2858764-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>
  <DeletedLinkedPOs>
    <LinkPO>
      <PO_ID>sample string 1</PO_ID>
      <PO_NO>sample string 2</PO_NO>
      <PurchaseOrder_ID>4de77562-6c39-4628-9f7e-439cd95a1e39</PurchaseOrder_ID>
    </LinkPO>
    <LinkPO>
      <PO_ID>sample string 1</PO_ID>
      <PO_NO>sample string 2</PO_NO>
      <PurchaseOrder_ID>4de77562-6c39-4628-9f7e-439cd95a1e39</PurchaseOrder_ID>
    </LinkPO>
  </DeletedLinkedPOs>
  <DriverId>1</DriverId>
  <EntryDate>2025-08-02T14:14:35.2858764-04:00</EntryDate>
  <EntryNo>sample string 6</EntryNo>
  <InsertLinkedPOs>
    <LinkPO>
      <PO_ID>sample string 1</PO_ID>
      <PO_NO>sample string 2</PO_NO>
      <PurchaseOrder_ID>4de77562-6c39-4628-9f7e-439cd95a1e39</PurchaseOrder_ID>
    </LinkPO>
    <LinkPO>
      <PO_ID>sample string 1</PO_ID>
      <PO_NO>sample string 2</PO_NO>
      <PurchaseOrder_ID>4de77562-6c39-4628-9f7e-439cd95a1e39</PurchaseOrder_ID>
    </LinkPO>
  </InsertLinkedPOs>
  <InvoiceNo>sample string 9</InvoiceNo>
  <LocationTypes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Cyzerg.Model.WMS.InputOutputModels">
    <d2p1:GetLocationTypeInputModel>
      <d2p1:CompanyId>1</d2p1:CompanyId>
      <d2p1:LocationId>1</d2p1:LocationId>
      <d2p1:LocationTypeId>1</d2p1:LocationTypeId>
      <d2p1:POCId>1</d2p1:POCId>
      <d2p1:SiteId>1</d2p1:SiteId>
    </d2p1:GetLocationTypeInputModel>
    <d2p1:GetLocationTypeInputModel>
      <d2p1:CompanyId>1</d2p1:CompanyId>
      <d2p1:LocationId>1</d2p1:LocationId>
      <d2p1:LocationTypeId>1</d2p1:LocationTypeId>
      <d2p1:POCId>1</d2p1:POCId>
      <d2p1:SiteId>1</d2p1:SiteId>
    </d2p1:GetLocationTypeInputModel>
  </LocationTypes>
  <NumberOfPOItems>11</NumberOfPOItems>
  <NumberOfPieces>1</NumberOfPieces>
  <PoNo>sample string 10</PoNo>
  <ProNo>sample string 8</ProNo>
  <ReceivingTypeId>1</ReceivingTypeId>
  <StatusId>3</StatusId>
  <TrackingNo>sample string 7</TrackingNo>
  <UpdatedCustomFields>
    <CustomFields>
      <ChangedLocationTypes xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </ChangedLocationTypes>
      <Id>1</Id>
    </CustomFields>
    <CustomFields>
      <ChangedLocationTypes xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </ChangedLocationTypes>
      <Id>1</Id>
    </CustomFields>
  </UpdatedCustomFields>
  <WR_Id>f9c181ac-c20a-4d90-abc9-017b6cdcc529</WR_Id>
  <WR_No>sample string 5</WR_No>
  <WarehouseId>2</WarehouseId>
</GetWarehouseReceiptInputModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

text/html

Sample:
{"WR_Id":"f9c181ac-c20a-4d90-abc9-017b6cdcc529","WarehouseId":2,"StatusId":3,"CreatedDate":"2025-08-02T14:14:35.2858764-04:00","WR_No":"sample string 5","CarrierId":1,"ReceivingTypeId":1,"EntryNo":"sample string 6","EntryDate":"2025-08-02T14:14:35.2858764-04:00","TrackingNo":"sample string 7","ProNo":"sample string 8","DriverId":1,"NumberOfPieces":1,"InvoiceNo":"sample string 9","PoNo":"sample string 10","LocationTypes":[{"LocationId":1,"CompanyId":1,"SiteId":1,"POCId":1,"LocationTypeId":1},{"LocationId":1,"CompanyId":1,"SiteId":1,"POCId":1,"LocationTypeId":1}],"UpdatedCustomFields":[{"Id":1,"ChangedLocationTypes":["sample string 1","sample string 2"]},{"Id":1,"ChangedLocationTypes":["sample string 1","sample string 2"]}],"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"}],"ChangedLocationTypes":["sample string 1","sample string 2"],"InsertLinkedPOs":[{"PurchaseOrder_ID":"4de77562-6c39-4628-9f7e-439cd95a1e39","PO_ID":"sample string 1","PO_NO":"sample string 2"},{"PurchaseOrder_ID":"4de77562-6c39-4628-9f7e-439cd95a1e39","PO_ID":"sample string 1","PO_NO":"sample string 2"}],"DeletedLinkedPOs":[{"PurchaseOrder_ID":"4de77562-6c39-4628-9f7e-439cd95a1e39","PO_ID":"sample string 1","PO_NO":"sample string 2"},{"PurchaseOrder_ID":"4de77562-6c39-4628-9f7e-439cd95a1e39","PO_ID":"sample string 1","PO_NO":"sample string 2"}],"NumberOfPOItems":11}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.