PUT api/asn
Update an ASN that has been posted but has not been completed.
Request Information
URI Parameters
None.
Body Parameters
ASNName | Type | Description | Additional information |
---|---|---|---|
VisibleId | integer |
ID number that identifies the resource in the Maersk system |
|
OrderNumber | string |
Order Number |
Required |
OrderType | string |
Order Type |
|
OrderDate | date |
Order Date Time UTC. Will default to local current date if not provided |
|
ShipmentReference | string |
Custom Reference Number for clients |
|
PurchaseOrderDetails | Collection of PurchaseOrderDetail |
Purchase Order Details |
|
ShippingFrom | string |
Shipping From location |
|
ShipToLocation | string |
ShipToLocation or Warehouse |
|
Status | string |
Status of the ASN |
|
StatusDate | date |
Status Change Date when the ASN status last changed |
|
Request Formats
application/json, text/json
{ "VisibleId": 1, "OrderNumber": "sample string 2", "OrderType": "sample string 3", "OrderDate": "2025-01-18T05:13:29.9624875+00:00", "ShipmentReference": "sample string 5", "PurchaseOrderDetails": [ { "VisibleId": 1, "PalletLicensePlate": "sample string 2", "TransactionAction": "sample string 3", "LineNumber": "sample string 4", "ItemNumber": "sample string 5", "QuantityOrdered": 6.0, "QuantityOpen": 7.0, "ShipDate": "2025-01-18T05:13:29.9624875+00:00", "QuantityUoM": "sample string 8", "Location": "sample string 9", "LotNumber": "sample string 10", "ExpectedDate": "2025-01-18T05:13:29.9624875+00:00", "Description": "sample string 11", "ExtWeight": 12.0, "WeightUnitOfMeasure": "sample string 13", "HoldCode": "sample string 14", "VendorLotNumber": "sample string 15", "LotExpiration": "2025-01-18T05:13:29.9624875+00:00", "BillOfLading": "sample string 16", "ShipMethod": "sample string 17", "CarrierName": "sample string 18", "DocumentNumber": "sample string 19" }, { "VisibleId": 1, "PalletLicensePlate": "sample string 2", "TransactionAction": "sample string 3", "LineNumber": "sample string 4", "ItemNumber": "sample string 5", "QuantityOrdered": 6.0, "QuantityOpen": 7.0, "ShipDate": "2025-01-18T05:13:29.9624875+00:00", "QuantityUoM": "sample string 8", "Location": "sample string 9", "LotNumber": "sample string 10", "ExpectedDate": "2025-01-18T05:13:29.9624875+00:00", "Description": "sample string 11", "ExtWeight": 12.0, "WeightUnitOfMeasure": "sample string 13", "HoldCode": "sample string 14", "VendorLotNumber": "sample string 15", "LotExpiration": "2025-01-18T05:13:29.9624875+00:00", "BillOfLading": "sample string 16", "ShipMethod": "sample string 17", "CarrierName": "sample string 18", "DocumentNumber": "sample string 19" } ], "ShippingFrom": "sample string 6", "ShipToLocation": "sample string 7", "Status": "sample string 8", "StatusDate": "2025-01-18T05:13:29.9624875+00:00" }
application/xml, text/xml
<ASN xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <VisibleId>1</VisibleId> <OrderNumber>sample string 2</OrderNumber> <OrderType>sample string 3</OrderType> <OrderDate>2025-01-18T05:13:29.9624875+00:00</OrderDate> <ShipmentReference>sample string 5</ShipmentReference> <PurchaseOrderDetails> <PurchaseOrderDetail> <VisibleId>1</VisibleId> <PalletLicensePlate>sample string 2</PalletLicensePlate> <TransactionAction>sample string 3</TransactionAction> <LineNumber>sample string 4</LineNumber> <ItemNumber>sample string 5</ItemNumber> <QuantityOrdered>6</QuantityOrdered> <QuantityOpen>7</QuantityOpen> <ShipDate>2025-01-18T05:13:29.9624875+00:00</ShipDate> <QuantityUoM>sample string 8</QuantityUoM> <Location>sample string 9</Location> <LotNumber>sample string 10</LotNumber> <ExpectedDate>2025-01-18T05:13:29.9624875+00:00</ExpectedDate> <Description>sample string 11</Description> <ExtWeight>12</ExtWeight> <WeightUnitOfMeasure>sample string 13</WeightUnitOfMeasure> <HoldCode>sample string 14</HoldCode> <VendorLotNumber>sample string 15</VendorLotNumber> <LotExpiration>2025-01-18T05:13:29.9624875+00:00</LotExpiration> <BillOfLading>sample string 16</BillOfLading> <ShipMethod>sample string 17</ShipMethod> <CarrierName>sample string 18</CarrierName> <DocumentNumber>sample string 19</DocumentNumber> </PurchaseOrderDetail> <PurchaseOrderDetail> <VisibleId>1</VisibleId> <PalletLicensePlate>sample string 2</PalletLicensePlate> <TransactionAction>sample string 3</TransactionAction> <LineNumber>sample string 4</LineNumber> <ItemNumber>sample string 5</ItemNumber> <QuantityOrdered>6</QuantityOrdered> <QuantityOpen>7</QuantityOpen> <ShipDate>2025-01-18T05:13:29.9624875+00:00</ShipDate> <QuantityUoM>sample string 8</QuantityUoM> <Location>sample string 9</Location> <LotNumber>sample string 10</LotNumber> <ExpectedDate>2025-01-18T05:13:29.9624875+00:00</ExpectedDate> <Description>sample string 11</Description> <ExtWeight>12</ExtWeight> <WeightUnitOfMeasure>sample string 13</WeightUnitOfMeasure> <HoldCode>sample string 14</HoldCode> <VendorLotNumber>sample string 15</VendorLotNumber> <LotExpiration>2025-01-18T05:13:29.9624875+00:00</LotExpiration> <BillOfLading>sample string 16</BillOfLading> <ShipMethod>sample string 17</ShipMethod> <CarrierName>sample string 18</CarrierName> <DocumentNumber>sample string 19</DocumentNumber> </PurchaseOrderDetail> </PurchaseOrderDetails> <ShippingFrom>sample string 6</ShippingFrom> <ShipToLocation>sample string 7</ShipToLocation> <Status>sample string 8</Status> <StatusDate>2025-01-18T05:13:29.9624875+00:00</StatusDate> </ASN>
application/x-www-form-urlencoded
VisibleId=1&OrderNumber=sample+string+1&OrderType=sample+string+1&OrderDate=1%2f14%2f2025+12%3a51%3a43+PM&ShipmentReference=sample+string+1&PurchaseOrderDetails=System.Collections.Generic.List%601%5bPorta.Contract.PurchaseOrderDetail%5d&ShippingFrom=sample+string+1&ShipToLocation=sample+string+1&Status=sample+string+1&StatusDate=1%2f14%2f2025+12%3a51%3a43+PM
Response Information
Resource Description
ASNName | Type | Description | Additional information |
---|---|---|---|
VisibleId | integer |
ID number that identifies the resource in the Maersk system |
|
OrderNumber | string |
Order Number |
Required |
OrderType | string |
Order Type |
|
OrderDate | date |
Order Date Time UTC. Will default to local current date if not provided |
|
ShipmentReference | string |
Custom Reference Number for clients |
|
PurchaseOrderDetails | Collection of PurchaseOrderDetail |
Purchase Order Details |
|
ShippingFrom | string |
Shipping From location |
|
ShipToLocation | string |
ShipToLocation or Warehouse |
|
Status | string |
Status of the ASN |
|
StatusDate | date |
Status Change Date when the ASN status last changed |
|
Response Formats
application/json, text/json
{ "VisibleId": 1, "OrderNumber": "sample string 2", "OrderType": "sample string 3", "OrderDate": "2025-01-18T05:13:29.9624875+00:00", "ShipmentReference": "sample string 5", "PurchaseOrderDetails": [ { "VisibleId": 1, "PalletLicensePlate": "sample string 2", "TransactionAction": "sample string 3", "LineNumber": "sample string 4", "ItemNumber": "sample string 5", "QuantityOrdered": 6.0, "QuantityOpen": 7.0, "ShipDate": "2025-01-18T05:13:29.9624875+00:00", "QuantityUoM": "sample string 8", "Location": "sample string 9", "LotNumber": "sample string 10", "ExpectedDate": "2025-01-18T05:13:29.9624875+00:00", "Description": "sample string 11", "ExtWeight": 12.0, "WeightUnitOfMeasure": "sample string 13", "HoldCode": "sample string 14", "VendorLotNumber": "sample string 15", "LotExpiration": "2025-01-18T05:13:29.9624875+00:00", "BillOfLading": "sample string 16", "ShipMethod": "sample string 17", "CarrierName": "sample string 18", "DocumentNumber": "sample string 19" }, { "VisibleId": 1, "PalletLicensePlate": "sample string 2", "TransactionAction": "sample string 3", "LineNumber": "sample string 4", "ItemNumber": "sample string 5", "QuantityOrdered": 6.0, "QuantityOpen": 7.0, "ShipDate": "2025-01-18T05:13:29.9624875+00:00", "QuantityUoM": "sample string 8", "Location": "sample string 9", "LotNumber": "sample string 10", "ExpectedDate": "2025-01-18T05:13:29.9624875+00:00", "Description": "sample string 11", "ExtWeight": 12.0, "WeightUnitOfMeasure": "sample string 13", "HoldCode": "sample string 14", "VendorLotNumber": "sample string 15", "LotExpiration": "2025-01-18T05:13:29.9624875+00:00", "BillOfLading": "sample string 16", "ShipMethod": "sample string 17", "CarrierName": "sample string 18", "DocumentNumber": "sample string 19" } ], "ShippingFrom": "sample string 6", "ShipToLocation": "sample string 7", "Status": "sample string 8", "StatusDate": "2025-01-18T05:13:29.9624875+00:00" }
application/xml, text/xml
<ASN xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <VisibleId>1</VisibleId> <OrderNumber>sample string 2</OrderNumber> <OrderType>sample string 3</OrderType> <OrderDate>2025-01-18T05:13:29.9624875+00:00</OrderDate> <ShipmentReference>sample string 5</ShipmentReference> <PurchaseOrderDetails> <PurchaseOrderDetail> <VisibleId>1</VisibleId> <PalletLicensePlate>sample string 2</PalletLicensePlate> <TransactionAction>sample string 3</TransactionAction> <LineNumber>sample string 4</LineNumber> <ItemNumber>sample string 5</ItemNumber> <QuantityOrdered>6</QuantityOrdered> <QuantityOpen>7</QuantityOpen> <ShipDate>2025-01-18T05:13:29.9624875+00:00</ShipDate> <QuantityUoM>sample string 8</QuantityUoM> <Location>sample string 9</Location> <LotNumber>sample string 10</LotNumber> <ExpectedDate>2025-01-18T05:13:29.9624875+00:00</ExpectedDate> <Description>sample string 11</Description> <ExtWeight>12</ExtWeight> <WeightUnitOfMeasure>sample string 13</WeightUnitOfMeasure> <HoldCode>sample string 14</HoldCode> <VendorLotNumber>sample string 15</VendorLotNumber> <LotExpiration>2025-01-18T05:13:29.9624875+00:00</LotExpiration> <BillOfLading>sample string 16</BillOfLading> <ShipMethod>sample string 17</ShipMethod> <CarrierName>sample string 18</CarrierName> <DocumentNumber>sample string 19</DocumentNumber> </PurchaseOrderDetail> <PurchaseOrderDetail> <VisibleId>1</VisibleId> <PalletLicensePlate>sample string 2</PalletLicensePlate> <TransactionAction>sample string 3</TransactionAction> <LineNumber>sample string 4</LineNumber> <ItemNumber>sample string 5</ItemNumber> <QuantityOrdered>6</QuantityOrdered> <QuantityOpen>7</QuantityOpen> <ShipDate>2025-01-18T05:13:29.9624875+00:00</ShipDate> <QuantityUoM>sample string 8</QuantityUoM> <Location>sample string 9</Location> <LotNumber>sample string 10</LotNumber> <ExpectedDate>2025-01-18T05:13:29.9624875+00:00</ExpectedDate> <Description>sample string 11</Description> <ExtWeight>12</ExtWeight> <WeightUnitOfMeasure>sample string 13</WeightUnitOfMeasure> <HoldCode>sample string 14</HoldCode> <VendorLotNumber>sample string 15</VendorLotNumber> <LotExpiration>2025-01-18T05:13:29.9624875+00:00</LotExpiration> <BillOfLading>sample string 16</BillOfLading> <ShipMethod>sample string 17</ShipMethod> <CarrierName>sample string 18</CarrierName> <DocumentNumber>sample string 19</DocumentNumber> </PurchaseOrderDetail> </PurchaseOrderDetails> <ShippingFrom>sample string 6</ShippingFrom> <ShipToLocation>sample string 7</ShipToLocation> <Status>sample string 8</Status> <StatusDate>2025-01-18T05:13:29.9624875+00:00</StatusDate> </ASN>