POST customers/external
Authorized only.
Request Information
URI Parameters
None.
Body Parameters
ApiPushRequestOfExternalMappingApiModelName | Description | Type | Additional information |
---|---|---|---|
Inserted | Collection of ExternalMappingApiModel |
None. |
|
Updated | Collection of ExternalMappingApiModel |
None. |
Request Formats
application/json, text/json
Sample:
{ "Inserted": [ { "CompanyId": 1, "ExternalId": "sample string 1", "EntityId": 2, "ConnectionType": 1, "EntityType": 0, "InternalMobileId": 3, "Id": 1, "MobileId": 1, "IsInserted": true, "IsUpdated": true, "IsDeleted": true }, { "CompanyId": 1, "ExternalId": "sample string 1", "EntityId": 2, "ConnectionType": 1, "EntityType": 0, "InternalMobileId": 3, "Id": 1, "MobileId": 1, "IsInserted": true, "IsUpdated": true, "IsDeleted": true } ], "Updated": [ { "CompanyId": 1, "ExternalId": "sample string 1", "EntityId": 2, "ConnectionType": 1, "EntityType": 0, "InternalMobileId": 3, "Id": 1, "MobileId": 1, "IsInserted": true, "IsUpdated": true, "IsDeleted": true }, { "CompanyId": 1, "ExternalId": "sample string 1", "EntityId": 2, "ConnectionType": 1, "EntityType": 0, "InternalMobileId": 3, "Id": 1, "MobileId": 1, "IsInserted": true, "IsUpdated": true, "IsDeleted": true } ] }
application/xml, text/xml
Sample:
<ApiPushRequestOfExternalMappingApiModel_SSyiujPd 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.Company"> <d2p1:ExternalMappingApiModel> <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">3</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> <CompanyId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Company">1</CompanyId> <ConnectionType xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Company">NopCommerce</ConnectionType> <EntityId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Company">2</EntityId> <EntityType xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Company">Unknown</EntityType> <ExternalId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Company">sample string 1</ExternalId> </d2p1:ExternalMappingApiModel> <d2p1:ExternalMappingApiModel> <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">3</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> <CompanyId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Company">1</CompanyId> <ConnectionType xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Company">NopCommerce</ConnectionType> <EntityId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Company">2</EntityId> <EntityType xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Company">Unknown</EntityType> <ExternalId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Company">sample string 1</ExternalId> </d2p1:ExternalMappingApiModel> </Inserted> <Updated xmlns:d2p1="http://schemas.datacontract.org/2004/07/IConnect.Data.Mapping.Mobile.Company"> <d2p1:ExternalMappingApiModel> <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">3</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> <CompanyId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Company">1</CompanyId> <ConnectionType xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Company">NopCommerce</ConnectionType> <EntityId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Company">2</EntityId> <EntityType xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Company">Unknown</EntityType> <ExternalId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Company">sample string 1</ExternalId> </d2p1:ExternalMappingApiModel> <d2p1:ExternalMappingApiModel> <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">3</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> <CompanyId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Company">1</CompanyId> <ConnectionType xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Company">NopCommerce</ConnectionType> <EntityId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Company">2</EntityId> <EntityType xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Company">Unknown</EntityType> <ExternalId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Company">sample string 1</ExternalId> </d2p1:ExternalMappingApiModel> </Updated> </ApiPushRequestOfExternalMappingApiModel_SSyiujPd>
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. |