TicketUserServices

<back to all web services

KsiCardsSingleCardRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdmin, MobileApp, Admin, TeamAdmin, MobileAppRequires any of the permissions:ReadData, ReadData
The following routes are available for this service:
All Verbs/ksiCards/Card
KsiCardsSingleCardRequest Parameters:
NameParameterData TypeRequiredDescription
CardqueryKsiCardsNo
RequestUnixUTCTimeStampquerylongNo
SignaturequeryRequestSignatureNo
KsiCards Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
CreationDateformDateTime?No
PhoneFullVerificationNumberformstringNo
DeviceIdformstringNo
KsiCardTypeIdformstringNo
KsiClubIdformstringNo
HolderNameformstringNo
CanTransferToPhoneFullNumberformstringNo
CanTransferToNNameformstringNo
ExpYearformstringNo
ExpMonthformstringNo
RequestSignature Parameters:
NameParameterData TypeRequiredDescription
SystemIdformstringNo
SystemSecretformstringNo
SignatureformstringNo
KsiPaymentCardsResult Parameters:
NameParameterData TypeRequiredDescription
CardsformList<BorgunSavedCards>No
KsiCardsformList<KsiCards>No
StatusCodeformintNo
MessageformstringNo
BorgunSavedCards Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
CreationDateformDateTime?No
LastTokenDateformDateTime?No
isDebitformbool?No
PhoneVerificationNumberformstringNo
DeviceIdformstringNo
VirtualCardNumberformstringNo
PanLastFourformstringNo
ExpYearformstringNo
ExpMonthformstringNo
TokenformstringNo
CardTypeformstringNo
DeletedByUserformbool?No
DeletedFromOriginformbool?No
DateDeletedByUserformDateTime?No
DateDeletedFromOriginformDateTime?No
IsDeletedformbool?No
DateDeletedBySystemformDateTime?No
DeletedBySystemformbool?No

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /ksiCards/Card HTTP/1.1 
Host: stubbur-autoupdates-live.smartnewapis.com 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<KsiCardsSingleCardRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
  <Card xmlns:d2p1="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel.Types">
    <d2p1:CanTransferToNName>String</d2p1:CanTransferToNName>
    <d2p1:CanTransferToPhoneFullNumber>String</d2p1:CanTransferToPhoneFullNumber>
    <d2p1:CreationDate>0001-01-01T00:00:00</d2p1:CreationDate>
    <d2p1:DeviceId>String</d2p1:DeviceId>
    <d2p1:ExpMonth>String</d2p1:ExpMonth>
    <d2p1:ExpYear>String</d2p1:ExpYear>
    <d2p1:HolderName>String</d2p1:HolderName>
    <d2p1:Id>0</d2p1:Id>
    <d2p1:KsiCardTypeId>String</d2p1:KsiCardTypeId>
    <d2p1:KsiClubId>String</d2p1:KsiClubId>
    <d2p1:PhoneFullVerificationNumber>String</d2p1:PhoneFullVerificationNumber>
  </Card>
  <RequestUnixUTCTimeStamp>0</RequestUnixUTCTimeStamp>
  <Signature>
    <Signature>String</Signature>
    <SystemId>String</SystemId>
    <SystemSecret>String</SystemSecret>
  </Signature>
</KsiCardsSingleCardRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<KsiPaymentCardsResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
  <Cards xmlns:d2p1="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel.Types">
    <d2p1:BorgunSavedCards>
      <d2p1:CardType>String</d2p1:CardType>
      <d2p1:CreationDate>0001-01-01T00:00:00</d2p1:CreationDate>
      <d2p1:DateDeletedBySystem>0001-01-01T00:00:00</d2p1:DateDeletedBySystem>
      <d2p1:DateDeletedByUser>0001-01-01T00:00:00</d2p1:DateDeletedByUser>
      <d2p1:DateDeletedFromOrigin>0001-01-01T00:00:00</d2p1:DateDeletedFromOrigin>
      <d2p1:DeletedBySystem>false</d2p1:DeletedBySystem>
      <d2p1:DeletedByUser>false</d2p1:DeletedByUser>
      <d2p1:DeletedFromOrigin>false</d2p1:DeletedFromOrigin>
      <d2p1:DeviceId>String</d2p1:DeviceId>
      <d2p1:ExpMonth>String</d2p1:ExpMonth>
      <d2p1:ExpYear>String</d2p1:ExpYear>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:IsDeleted>false</d2p1:IsDeleted>
      <d2p1:LastTokenDate>0001-01-01T00:00:00</d2p1:LastTokenDate>
      <d2p1:PanLastFour>String</d2p1:PanLastFour>
      <d2p1:PhoneVerificationNumber>String</d2p1:PhoneVerificationNumber>
      <d2p1:Token>String</d2p1:Token>
      <d2p1:VirtualCardNumber>String</d2p1:VirtualCardNumber>
      <d2p1:isDebit>false</d2p1:isDebit>
    </d2p1:BorgunSavedCards>
  </Cards>
  <KsiCards xmlns:d2p1="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel.Types">
    <d2p1:KsiCards>
      <d2p1:CanTransferToNName>String</d2p1:CanTransferToNName>
      <d2p1:CanTransferToPhoneFullNumber>String</d2p1:CanTransferToPhoneFullNumber>
      <d2p1:CreationDate>0001-01-01T00:00:00</d2p1:CreationDate>
      <d2p1:DeviceId>String</d2p1:DeviceId>
      <d2p1:ExpMonth>String</d2p1:ExpMonth>
      <d2p1:ExpYear>String</d2p1:ExpYear>
      <d2p1:HolderName>String</d2p1:HolderName>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:KsiCardTypeId>String</d2p1:KsiCardTypeId>
      <d2p1:KsiClubId>String</d2p1:KsiClubId>
      <d2p1:PhoneFullVerificationNumber>String</d2p1:PhoneFullVerificationNumber>
    </d2p1:KsiCards>
  </KsiCards>
  <Message>String</Message>
  <StatusCode>0</StatusCode>
</KsiPaymentCardsResult>