POST customer/sales
Authorized only.
Request Information
URI Parameters
None.
Body Parameters
ApiPushRequestOfCustomerSaleApiModelName | Description | Type | Additional information |
---|---|---|---|
Inserted | Collection of CustomerSaleApiModel |
None. |
|
Updated | Collection of CustomerSaleApiModel |
None. |
Request Formats
application/json, text/json
Sample:
{ "Inserted": [ { "CompanyId": 1, "CustomerId": 2, "CustomerMobileId": 1, "DiscountId": 1, "DiscountCode": "sample string 3", "OrderId": 4, "OrderMobileId": 1, "OrderItemId": 5, "OrderItemMobileId": 1, "ProductId": 6, "ProductAttributeMapId": 1, "Sku": "sample string 7", "Quantity": 8.0, "InternalMobileId": 9, "Id": 1, "MobileId": 1, "IsInserted": true, "IsUpdated": true, "IsDeleted": true }, { "CompanyId": 1, "CustomerId": 2, "CustomerMobileId": 1, "DiscountId": 1, "DiscountCode": "sample string 3", "OrderId": 4, "OrderMobileId": 1, "OrderItemId": 5, "OrderItemMobileId": 1, "ProductId": 6, "ProductAttributeMapId": 1, "Sku": "sample string 7", "Quantity": 8.0, "InternalMobileId": 9, "Id": 1, "MobileId": 1, "IsInserted": true, "IsUpdated": true, "IsDeleted": true } ], "Updated": [ { "CompanyId": 1, "CustomerId": 2, "CustomerMobileId": 1, "DiscountId": 1, "DiscountCode": "sample string 3", "OrderId": 4, "OrderMobileId": 1, "OrderItemId": 5, "OrderItemMobileId": 1, "ProductId": 6, "ProductAttributeMapId": 1, "Sku": "sample string 7", "Quantity": 8.0, "InternalMobileId": 9, "Id": 1, "MobileId": 1, "IsInserted": true, "IsUpdated": true, "IsDeleted": true }, { "CompanyId": 1, "CustomerId": 2, "CustomerMobileId": 1, "DiscountId": 1, "DiscountCode": "sample string 3", "OrderId": 4, "OrderMobileId": 1, "OrderItemId": 5, "OrderItemMobileId": 1, "ProductId": 6, "ProductAttributeMapId": 1, "Sku": "sample string 7", "Quantity": 8.0, "InternalMobileId": 9, "Id": 1, "MobileId": 1, "IsInserted": true, "IsUpdated": true, "IsDeleted": true } ] }
application/xml, text/xml
Sample:
<ApiPushRequestOfCustomerSaleApiModel_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:CustomerSaleApiModel> <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">9</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.Customer">1</CompanyId> <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> <DiscountCode xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">sample string 3</DiscountCode> <DiscountId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">1</DiscountId> <OrderId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">4</OrderId> <OrderItemId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">5</OrderItemId> <OrderItemMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">1</OrderItemMobileId> <OrderMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">1</OrderMobileId> <ProductAttributeMapId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">1</ProductAttributeMapId> <ProductId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">6</ProductId> <Quantity xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">8</Quantity> <Sku xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">sample string 7</Sku> </d2p1:CustomerSaleApiModel> <d2p1:CustomerSaleApiModel> <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">9</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.Customer">1</CompanyId> <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> <DiscountCode xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">sample string 3</DiscountCode> <DiscountId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">1</DiscountId> <OrderId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">4</OrderId> <OrderItemId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">5</OrderItemId> <OrderItemMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">1</OrderItemMobileId> <OrderMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">1</OrderMobileId> <ProductAttributeMapId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">1</ProductAttributeMapId> <ProductId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">6</ProductId> <Quantity xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">8</Quantity> <Sku xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">sample string 7</Sku> </d2p1:CustomerSaleApiModel> </Inserted> <Updated xmlns:d2p1="http://schemas.datacontract.org/2004/07/IConnect.Data.Mapping.Mobile.Company"> <d2p1:CustomerSaleApiModel> <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">9</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.Customer">1</CompanyId> <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> <DiscountCode xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">sample string 3</DiscountCode> <DiscountId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">1</DiscountId> <OrderId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">4</OrderId> <OrderItemId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">5</OrderItemId> <OrderItemMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">1</OrderItemMobileId> <OrderMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">1</OrderMobileId> <ProductAttributeMapId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">1</ProductAttributeMapId> <ProductId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">6</ProductId> <Quantity xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">8</Quantity> <Sku xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">sample string 7</Sku> </d2p1:CustomerSaleApiModel> <d2p1:CustomerSaleApiModel> <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">9</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.Customer">1</CompanyId> <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> <DiscountCode xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">sample string 3</DiscountCode> <DiscountId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">1</DiscountId> <OrderId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">4</OrderId> <OrderItemId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">5</OrderItemId> <OrderItemMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">1</OrderItemMobileId> <OrderMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">1</OrderMobileId> <ProductAttributeMapId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">1</ProductAttributeMapId> <ProductId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">6</ProductId> <Quantity xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">8</Quantity> <Sku xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">sample string 7</Sku> </d2p1:CustomerSaleApiModel> </Updated> </ApiPushRequestOfCustomerSaleApiModel_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. |