POST api/shippingAddress/ShippingAddress_Upsert
Request Information
URI Parameters
None.
Body Parameters
ShippingAddress| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| SalonId | integer |
None. |
|
| Address | string |
None. |
|
| CountryId | integer |
None. |
|
| StateId | integer |
None. |
|
| City | string |
None. |
|
| ZipCode | integer |
None. |
|
| PrimaryNumber | string |
None. |
|
| AlternateNumber | string |
None. |
|
| IsDefault | boolean |
None. |
|
| CreatedBy | integer |
None. |
|
| DeletedDate | date |
None. |
|
| DeletedBy | integer |
None. |
|
| CreatedDate | date |
None. |
|
| StateName | string |
None. |
|
| CountryName | string |
None. |
|
| SalonName | string |
None. |
|
| UpdatedBy | integer |
None. |
|
| UpdatedDate | date |
None. |
|
| CreatedDateStr | string |
None. |
|
| UpdatedDateStr | string |
None. |
|
| DeletedDateStr | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"SalonId": 2,
"Address": "sample string 3",
"CountryId": 4,
"StateId": 5,
"City": "sample string 6",
"ZipCode": 7,
"PrimaryNumber": "sample string 8",
"AlternateNumber": "sample string 9",
"IsDefault": true,
"CreatedBy": 11,
"DeletedDate": "2026-02-04T05:10:40.6852805+03:00",
"DeletedBy": 13,
"CreatedDate": "2026-02-04T05:10:40.6852805+03:00",
"StateName": "sample string 15",
"CountryName": "sample string 16",
"SalonName": "sample string 17",
"UpdatedBy": 18,
"UpdatedDate": "2026-02-04T05:10:40.6852805+03:00",
"CreatedDateStr": "04-Feb-2026 05:10 AM",
"UpdatedDateStr": "04-Feb-2026 05:10 AM",
"DeletedDateStr": "04-Feb-2026 05:10 AM"
}
text/xml
Sample:
<ShippingAddress xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.V1"> <Address xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 3</Address> <AlternateNumber xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 9</AlternateNumber> <City xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 6</City> <CountryId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">4</CountryId> <CountryName xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 16</CountryName> <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">11</CreatedBy> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">2026-02-04T05:10:40.6852805+03:00</CreatedDate> <DeletedBy xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">13</DeletedBy> <DeletedDate xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">2026-02-04T05:10:40.6852805+03:00</DeletedDate> <Id xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">1</Id> <IsDefault xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">true</IsDefault> <PrimaryNumber xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 8</PrimaryNumber> <SalonId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">2</SalonId> <SalonName xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 17</SalonName> <StateId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">5</StateId> <StateName xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 15</StateName> <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">18</UpdatedBy> <UpdatedDate xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">2026-02-04T05:10:40.6852805+03:00</UpdatedDate> <ZipCode xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">7</ZipCode> </ShippingAddress>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/xml
Sample:
Sample not available.