TicketUserServices

<back to all web services

KsiCardsDeleteCardRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdmin, MobileAppRequires the permission:ReadData
The following routes are available for this service:
All Verbs/ksiCards/Card/Delete
All Verbs/ksiCards/Card/Delete/{Id}
KsiCardsDeleteCardRequest Parameters:
NameParameterData TypeRequiredDescription
IdpathintNo
RequestUnixUTCTimeStampquerylongNo
SignaturequeryRequestSignatureNo
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
KsiCards Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
CreationDateformDateTime?No
PhoneFullVerificationNumberformstringNo
DeviceIdformstringNo
KsiCardTypeIdformstringNo
KsiClubIdformstringNo
HolderNameformstringNo
CanTransferToPhoneFullNumberformstringNo
CanTransferToNNameformstringNo
ExpYearformstringNo
ExpMonthformstringNo

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

HTTP + CSV

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

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

{"id":0,"requestUnixUTCTimeStamp":0,"signature":{"systemId":"String","systemSecret":"String","signature":"String"}}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"cards":[{"id":0,"creationDate":"0001-01-01T00:00:00.0000000","lastTokenDate":"0001-01-01T00:00:00.0000000","isDebit":false,"phoneVerificationNumber":"String","deviceId":"String","virtualCardNumber":"String","panLastFour":"String","expYear":"String","expMonth":"String","token":"String","cardType":"String","deletedByUser":false,"deletedFromOrigin":false,"dateDeletedByUser":"0001-01-01T00:00:00.0000000","dateDeletedFromOrigin":"0001-01-01T00:00:00.0000000","isDeleted":false,"dateDeletedBySystem":"0001-01-01T00:00:00.0000000","deletedBySystem":false}],"ksiCards":[{"id":0,"creationDate":"0001-01-01T00:00:00.0000000","phoneFullVerificationNumber":"String","deviceId":"String","ksiCardTypeId":"String","ksiClubId":"String","holderName":"String","canTransferToPhoneFullNumber":"String","canTransferToNName":"String","expYear":"String","expMonth":"String"}],"statusCode":0,"message":"String"}