POST customer/addresses
Authorized only.
Request Information
URI Parameters
None.
Body Parameters
ApiPushRequestOfCustomerAddressApiModelName | Description | Type | Additional information |
---|---|---|---|
Inserted | Collection of CustomerAddressApiModel |
None. |
|
Updated | Collection of CustomerAddressApiModel |
None. |
Request Formats
application/json, text/json
Sample:
{ "Inserted": [ { "CompanyId": 1, "CustomerId": 2, "Name": "sample string 3", "Address1": "sample string 4", "Address2": "sample string 5", "City": "sample string 6", "CountryId": 1, "StateProvinceId": 1, "ZipPostal": "sample string 7", "CustomerMobileId": 1, "InternalMobileId": 8, "Id": 1, "MobileId": 1, "IsInserted": true, "IsUpdated": true, "IsDeleted": true }, { "CompanyId": 1, "CustomerId": 2, "Name": "sample string 3", "Address1": "sample string 4", "Address2": "sample string 5", "City": "sample string 6", "CountryId": 1, "StateProvinceId": 1, "ZipPostal": "sample string 7", "CustomerMobileId": 1, "InternalMobileId": 8, "Id": 1, "MobileId": 1, "IsInserted": true, "IsUpdated": true, "IsDeleted": true } ], "Updated": [ { "CompanyId": 1, "CustomerId": 2, "Name": "sample string 3", "Address1": "sample string 4", "Address2": "sample string 5", "City": "sample string 6", "CountryId": 1, "StateProvinceId": 1, "ZipPostal": "sample string 7", "CustomerMobileId": 1, "InternalMobileId": 8, "Id": 1, "MobileId": 1, "IsInserted": true, "IsUpdated": true, "IsDeleted": true }, { "CompanyId": 1, "CustomerId": 2, "Name": "sample string 3", "Address1": "sample string 4", "Address2": "sample string 5", "City": "sample string 6", "CountryId": 1, "StateProvinceId": 1, "ZipPostal": "sample string 7", "CustomerMobileId": 1, "InternalMobileId": 8, "Id": 1, "MobileId": 1, "IsInserted": true, "IsUpdated": true, "IsDeleted": true } ] }
application/xml, text/xml
Sample:
<ApiPushRequestOfCustomerAddressApiModel3D8dysrX xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Api"> <Inserted xmlns:d2p1="http://schemas.datacontract.org/2004/07/IConnect.Data.Mapping.Mobile.Customer"> <d2p1:CustomerAddressApiModel> <Id xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">1</Id> <InternalMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">8</InternalMobileId> <IsDeleted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsDeleted> <IsInserted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsInserted> <IsUpdated xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsUpdated> <MobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">1</MobileId> <Address1 xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">sample string 4</Address1> <Address2 xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">sample string 5</Address2> <City xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">sample string 6</City> <CompanyId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">1</CompanyId> <CountryId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">1</CountryId> <CustomerId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">2</CustomerId> <CustomerMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">1</CustomerMobileId> <Name xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">sample string 3</Name> <StateProvinceId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">1</StateProvinceId> <ZipPostal xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">sample string 7</ZipPostal> </d2p1:CustomerAddressApiModel> <d2p1:CustomerAddressApiModel> <Id xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">1</Id> <InternalMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">8</InternalMobileId> <IsDeleted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsDeleted> <IsInserted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsInserted> <IsUpdated xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsUpdated> <MobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">1</MobileId> <Address1 xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">sample string 4</Address1> <Address2 xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">sample string 5</Address2> <City xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">sample string 6</City> <CompanyId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">1</CompanyId> <CountryId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">1</CountryId> <CustomerId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">2</CustomerId> <CustomerMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">1</CustomerMobileId> <Name xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">sample string 3</Name> <StateProvinceId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">1</StateProvinceId> <ZipPostal xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">sample string 7</ZipPostal> </d2p1:CustomerAddressApiModel> </Inserted> <Updated xmlns:d2p1="http://schemas.datacontract.org/2004/07/IConnect.Data.Mapping.Mobile.Customer"> <d2p1:CustomerAddressApiModel> <Id xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">1</Id> <InternalMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">8</InternalMobileId> <IsDeleted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsDeleted> <IsInserted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsInserted> <IsUpdated xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsUpdated> <MobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">1</MobileId> <Address1 xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">sample string 4</Address1> <Address2 xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">sample string 5</Address2> <City xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">sample string 6</City> <CompanyId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">1</CompanyId> <CountryId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">1</CountryId> <CustomerId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">2</CustomerId> <CustomerMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">1</CustomerMobileId> <Name xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">sample string 3</Name> <StateProvinceId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">1</StateProvinceId> <ZipPostal xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">sample string 7</ZipPostal> </d2p1:CustomerAddressApiModel> <d2p1:CustomerAddressApiModel> <Id xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">1</Id> <InternalMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">8</InternalMobileId> <IsDeleted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsDeleted> <IsInserted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsInserted> <IsUpdated xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsUpdated> <MobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">1</MobileId> <Address1 xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">sample string 4</Address1> <Address2 xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">sample string 5</Address2> <City xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">sample string 6</City> <CompanyId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">1</CompanyId> <CountryId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">1</CountryId> <CustomerId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">2</CustomerId> <CustomerMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">1</CustomerMobileId> <Name xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">sample string 3</Name> <StateProvinceId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">1</StateProvinceId> <ZipPostal xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">sample string 7</ZipPostal> </d2p1:CustomerAddressApiModel> </Updated> </ApiPushRequestOfCustomerAddressApiModel3D8dysrX>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |