POST pos/tokens
Authorized only.
Request Information
URI Parameters
None.
Body Parameters
ApiPushRequestOfCreditCardTokenApiModelName | Description | Type | Additional information |
---|---|---|---|
Inserted | Collection of CreditCardTokenApiModel |
None. |
|
Updated | Collection of CreditCardTokenApiModel |
None. |
Request Formats
application/json, text/json
Sample:
{ "Inserted": [ { "CustomerId": 1, "CompanyId": 1, "CardType": "sample string 1", "MaskedCard": "sample string 2", "Token": "sample string 3", "ExpirationDate": "2024-11-21T02:50:50.3728452-05:00", "CreationDate": "2024-11-21T02:50:50.3728452-05:00", "CreditCardProviderId": 5, "Name": "sample string 1 - sample string 2 (11/2024)", "InternalMobileId": 6, "Id": 1, "MobileId": 1, "IsInserted": true, "IsUpdated": true, "IsDeleted": true }, { "CustomerId": 1, "CompanyId": 1, "CardType": "sample string 1", "MaskedCard": "sample string 2", "Token": "sample string 3", "ExpirationDate": "2024-11-21T02:50:50.3728452-05:00", "CreationDate": "2024-11-21T02:50:50.3728452-05:00", "CreditCardProviderId": 5, "Name": "sample string 1 - sample string 2 (11/2024)", "InternalMobileId": 6, "Id": 1, "MobileId": 1, "IsInserted": true, "IsUpdated": true, "IsDeleted": true } ], "Updated": [ { "CustomerId": 1, "CompanyId": 1, "CardType": "sample string 1", "MaskedCard": "sample string 2", "Token": "sample string 3", "ExpirationDate": "2024-11-21T02:50:50.3728452-05:00", "CreationDate": "2024-11-21T02:50:50.3728452-05:00", "CreditCardProviderId": 5, "Name": "sample string 1 - sample string 2 (11/2024)", "InternalMobileId": 6, "Id": 1, "MobileId": 1, "IsInserted": true, "IsUpdated": true, "IsDeleted": true }, { "CustomerId": 1, "CompanyId": 1, "CardType": "sample string 1", "MaskedCard": "sample string 2", "Token": "sample string 3", "ExpirationDate": "2024-11-21T02:50:50.3728452-05:00", "CreationDate": "2024-11-21T02:50:50.3728452-05:00", "CreditCardProviderId": 5, "Name": "sample string 1 - sample string 2 (11/2024)", "InternalMobileId": 6, "Id": 1, "MobileId": 1, "IsInserted": true, "IsUpdated": true, "IsDeleted": true } ] }
application/xml, text/xml
Sample:
<ApiPushRequestOfCreditCardTokenApiModelSoOqNYiB 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.Catalog"> <d2p1:CreditCardTokenApiModel> <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">6</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> <CardType xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">sample string 1</CardType> <CompanyId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">1</CompanyId> <CreationDate xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">2024-11-21T02:50:50.3728452-05:00</CreationDate> <CreditCardProviderId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">5</CreditCardProviderId> <CustomerId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">1</CustomerId> <ExpirationDate xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">2024-11-21T02:50:50.3728452-05:00</ExpirationDate> <MaskedCard xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">sample string 2</MaskedCard> <Token xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">sample string 3</Token> </d2p1:CreditCardTokenApiModel> <d2p1:CreditCardTokenApiModel> <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">6</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> <CardType xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">sample string 1</CardType> <CompanyId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">1</CompanyId> <CreationDate xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">2024-11-21T02:50:50.3728452-05:00</CreationDate> <CreditCardProviderId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">5</CreditCardProviderId> <CustomerId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">1</CustomerId> <ExpirationDate xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">2024-11-21T02:50:50.3728452-05:00</ExpirationDate> <MaskedCard xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">sample string 2</MaskedCard> <Token xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">sample string 3</Token> </d2p1:CreditCardTokenApiModel> </Inserted> <Updated xmlns:d2p1="http://schemas.datacontract.org/2004/07/IConnect.Data.Mapping.Mobile.Catalog"> <d2p1:CreditCardTokenApiModel> <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">6</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> <CardType xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">sample string 1</CardType> <CompanyId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">1</CompanyId> <CreationDate xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">2024-11-21T02:50:50.3728452-05:00</CreationDate> <CreditCardProviderId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">5</CreditCardProviderId> <CustomerId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">1</CustomerId> <ExpirationDate xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">2024-11-21T02:50:50.3728452-05:00</ExpirationDate> <MaskedCard xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">sample string 2</MaskedCard> <Token xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">sample string 3</Token> </d2p1:CreditCardTokenApiModel> <d2p1:CreditCardTokenApiModel> <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">6</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> <CardType xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">sample string 1</CardType> <CompanyId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">1</CompanyId> <CreationDate xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">2024-11-21T02:50:50.3728452-05:00</CreationDate> <CreditCardProviderId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">5</CreditCardProviderId> <CustomerId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">1</CustomerId> <ExpirationDate xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">2024-11-21T02:50:50.3728452-05:00</ExpirationDate> <MaskedCard xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">sample string 2</MaskedCard> <Token xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Customer">sample string 3</Token> </d2p1:CreditCardTokenApiModel> </Updated> </ApiPushRequestOfCreditCardTokenApiModelSoOqNYiB>
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. |