PUT api/SaiPO/UpdatePOShipToDetails

Request Information

URI Parameters

None.

Body Parameters

SaiPOShipToDetails
NameDescriptionTypeAdditional information
PONum

string

None.

SMLocationMasterId

integer

None.

SMLocationMaster

SAILocationMaster

None.

ShipToCompanyName

string

None.

ShipToFirstName

string

None.

ShipToLastName

string

None.

ShipToEmail

string

None.

ShipToWorkPhone

string

None.

ShipToCellPhone

string

None.

ShipToHomePhone

string

None.

ShipToFax

string

None.

ShipToWebsite

string

None.

AccountId

integer

None.

CompanyId

string

None.

CreatedBy

string

None.

CreatedOn

date

None.

Request Formats

application/json, text/json

Sample:
{
  "PONum": "sample string 1",
  "SMLocationMasterId": 1,
  "SMLocationMaster": {
    "Attention": "sample string 1",
    "AddressLine1": "sample string 2",
    "AddressLine2": "sample string 3",
    "City": "sample string 4",
    "State": "sample string 5",
    "Zip": "sample string 6",
    "Country": "sample string 7",
    "GeoLocationLatitude": "sample string 8",
    "GeoLocationLongitude": "sample string 9",
    "IsGoogleVerified": true,
    "IsCustomerVerified": true,
    "AccountId": 10,
    "CompanyId": "sample string 11",
    "CreatedOn": "2025-12-18T04:21:30.773869+00:00",
    "CreatedBy": "sample string 13",
    "UpdatedOn": "2025-12-18T04:21:30.773869+00:00",
    "UpdatedBy": "sample string 14",
    "IsLockedForEditing": true,
    "LockedBy": "sample string 16",
    "Id": 17,
    "FieldPermissions": []
  },
  "ShipToCompanyName": "sample string 2",
  "ShipToFirstName": "sample string 3",
  "ShipToLastName": "sample string 4",
  "ShipToEmail": "sample string 5",
  "ShipToWorkPhone": "sample string 6",
  "ShipToCellPhone": "sample string 7",
  "ShipToHomePhone": "sample string 8",
  "ShipToFax": "sample string 9",
  "ShipToWebsite": "sample string 10",
  "AccountId": 11,
  "CompanyId": "sample string 12",
  "CreatedBy": "sample string 13",
  "CreatedOn": "2025-12-18T04:21:30.7895487+00:00"
}

application/xml, text/xml

Sample:
<SaiPOShipToDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.SAI.PO">
  <AccountId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">11</AccountId>
  <CompanyId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 12</CompanyId>
  <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 13</CreatedBy>
  <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">2025-12-18T04:21:30.7895487+00:00</CreatedOn>
  <PONum>sample string 1</PONum>
  <SMLocationMaster xmlns:d2p1="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.SAI">
    <Id xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">17</Id>
    <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">sample string 13</CreatedBy>
    <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">2025-12-18T04:21:30.773869+00:00</CreatedOn>
    <IsLockedForEditing xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">true</IsLockedForEditing>
    <LockedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">sample string 16</LockedBy>
    <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">sample string 14</UpdatedBy>
    <UpdatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">2025-12-18T04:21:30.773869+00:00</UpdatedOn>
    <AccountId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">10</AccountId>
    <CompanyId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">sample string 11</CompanyId>
    <d2p1:AddressLine1>sample string 2</d2p1:AddressLine1>
    <d2p1:AddressLine2>sample string 3</d2p1:AddressLine2>
    <d2p1:Attention>sample string 1</d2p1:Attention>
    <d2p1:City>sample string 4</d2p1:City>
    <d2p1:Country>sample string 7</d2p1:Country>
    <d2p1:GeoLocationLatitude>sample string 8</d2p1:GeoLocationLatitude>
    <d2p1:GeoLocationLongitude>sample string 9</d2p1:GeoLocationLongitude>
    <d2p1:IsCustomerVerified>true</d2p1:IsCustomerVerified>
    <d2p1:IsGoogleVerified>true</d2p1:IsGoogleVerified>
    <d2p1:State>sample string 5</d2p1:State>
    <d2p1:Zip>sample string 6</d2p1:Zip>
  </SMLocationMaster>
  <SMLocationMasterId>1</SMLocationMasterId>
  <ShipToCellPhone>sample string 7</ShipToCellPhone>
  <ShipToCompanyName>sample string 2</ShipToCompanyName>
  <ShipToEmail>sample string 5</ShipToEmail>
  <ShipToFax>sample string 9</ShipToFax>
  <ShipToFirstName>sample string 3</ShipToFirstName>
  <ShipToHomePhone>sample string 8</ShipToHomePhone>
  <ShipToLastName>sample string 4</ShipToLastName>
  <ShipToWebsite>sample string 10</ShipToWebsite>
  <ShipToWorkPhone>sample string 6</ShipToWorkPhone>
</SaiPOShipToDetails>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.