PUT api/P3PLShipment/{id}

Update an existing record from the P3PLShipment table.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

P3PLShipment
NameDescriptionTypeAdditional information
ShipmentID

integer

None.

ClientID

integer

None.

OrderID

integer

None.

UserID

integer

None.

WarehouseID

integer

None.

ShipDate

date

None.

ConsigneeName

string

None.

ConsigneeEmail

string

None.

ConsigneePhone

string

None.

ConsigneeAddress1

string

None.

ConsigneeAddress2

string

None.

ConsigneeCity

string

None.

ConsigneeStateProvince

string

None.

ConsigneePostalCode

string

None.

ConsigneeCountry

string

None.

Comments

string

None.

ShippingServiceCode

string

None.

TotalPackageCount

integer

None.

ReferenceNumber

string

None.

ConsigneeCompany

string

None.

ConsigneeCustomerID

string

None.

ConsigneePONumber

string

None.

ReferenceAdditional

string

None.

ConsigneeNotificationCompleted

boolean

None.

ClientNotificationCompleted

boolean

None.

ClientComments

string

None.

PropackComments

string

None.

ShipmentValidated

boolean

None.

ManifestSourceID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ShipmentID": 1,
  "ClientID": 2,
  "OrderID": 3,
  "UserID": 4,
  "WarehouseID": 5,
  "ShipDate": "2025-12-06T23:42:09.964938+00:00",
  "ConsigneeName": "sample string 7",
  "ConsigneeEmail": "sample string 8",
  "ConsigneePhone": "sample string 9",
  "ConsigneeAddress1": "sample string 10",
  "ConsigneeAddress2": "sample string 11",
  "ConsigneeCity": "sample string 12",
  "ConsigneeStateProvince": "sample string 13",
  "ConsigneePostalCode": "sample string 14",
  "ConsigneeCountry": "sample string 15",
  "Comments": "sample string 16",
  "ShippingServiceCode": "sample string 17",
  "TotalPackageCount": 18,
  "ReferenceNumber": "sample string 19",
  "ConsigneeCompany": "sample string 20",
  "ConsigneeCustomerID": "sample string 21",
  "ConsigneePONumber": "sample string 22",
  "ReferenceAdditional": "sample string 23",
  "ConsigneeNotificationCompleted": true,
  "ClientNotificationCompleted": true,
  "ClientComments": "sample string 26",
  "PropackComments": "sample string 27",
  "ShipmentValidated": true,
  "ManifestSourceID": 29
}

application/xml, text/xml

Sample:
<P3PLShipment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Tables">
  <ClientComments>sample string 26</ClientComments>
  <ClientID>2</ClientID>
  <ClientNotificationCompleted>true</ClientNotificationCompleted>
  <Comments>sample string 16</Comments>
  <ConsigneeAddress1>sample string 10</ConsigneeAddress1>
  <ConsigneeAddress2>sample string 11</ConsigneeAddress2>
  <ConsigneeCity>sample string 12</ConsigneeCity>
  <ConsigneeCompany>sample string 20</ConsigneeCompany>
  <ConsigneeCountry>sample string 15</ConsigneeCountry>
  <ConsigneeCustomerID>sample string 21</ConsigneeCustomerID>
  <ConsigneeEmail>sample string 8</ConsigneeEmail>
  <ConsigneeName>sample string 7</ConsigneeName>
  <ConsigneeNotificationCompleted>true</ConsigneeNotificationCompleted>
  <ConsigneePONumber>sample string 22</ConsigneePONumber>
  <ConsigneePhone>sample string 9</ConsigneePhone>
  <ConsigneePostalCode>sample string 14</ConsigneePostalCode>
  <ConsigneeStateProvince>sample string 13</ConsigneeStateProvince>
  <ManifestSourceID>29</ManifestSourceID>
  <OrderID>3</OrderID>
  <PropackComments>sample string 27</PropackComments>
  <ReferenceAdditional>sample string 23</ReferenceAdditional>
  <ReferenceNumber>sample string 19</ReferenceNumber>
  <ShipDate>2025-12-06T23:42:09.964938+00:00</ShipDate>
  <ShipmentID>1</ShipmentID>
  <ShipmentValidated>true</ShipmentValidated>
  <ShippingServiceCode>sample string 17</ShippingServiceCode>
  <TotalPackageCount>18</TotalPackageCount>
  <UserID>4</UserID>
  <WarehouseID>5</WarehouseID>
</P3PLShipment>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'P3PLShipment'.

Response Information

Resource Description

audServiceMapDb
NameDescriptionTypeAdditional information
ServiceMapID

integer

None.

CarrierID

integer

Required

ServiceCode1

string

Required

Max length: 255

ServiceCode2

string

Max length: 255

ExternalServiceMethod

string

None.

IsIgnored

boolean

None.

ExternalServiceGuid

globally unique identifier

None.

CreatedBy

integer

None.

CreatedDate

date

None.

UpdatedBy

integer

None.

UpdatedDate

date

None.

results

Collection of ValidationResult

None.

Response Formats

application/json, text/json

Sample:
{
  "results": null,
  "ServiceMapID": 1,
  "CarrierID": 2,
  "ServiceCode1": "sample string 3",
  "ServiceCode2": "sample string 4",
  "ExternalServiceMethod": "sample string 5",
  "IsIgnored": true,
  "ExternalServiceGuid": "45fc4c10-1c4c-4d5e-b1eb-c7815975deb6",
  "CreatedBy": 8,
  "CreatedDate": "2025-12-06T23:42:09.964938+00:00",
  "UpdatedBy": 10,
  "UpdatedDate": "2025-12-06T23:42:09.964938+00:00"
}

application/xml, text/xml

Sample:
<audServiceMapDb xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Tables">
  <results xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.ComponentModel.DataAnnotations" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Utility" />
  <CarrierID>2</CarrierID>
  <CreatedBy>8</CreatedBy>
  <CreatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2025-12-06T23:42:09.964938Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </CreatedDate>
  <ExternalServiceGuid>45fc4c10-1c4c-4d5e-b1eb-c7815975deb6</ExternalServiceGuid>
  <ExternalServiceMethod>sample string 5</ExternalServiceMethod>
  <IsIgnored>true</IsIgnored>
  <ServiceCode1>sample string 3</ServiceCode1>
  <ServiceCode2>sample string 4</ServiceCode2>
  <ServiceMapID>1</ServiceMapID>
  <UpdatedBy>10</UpdatedBy>
  <UpdatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2025-12-06T23:42:09.964938Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </UpdatedDate>
</audServiceMapDb>