Requires any of the roles: | Admin, TeamAdmin, MobileApp | Requires the permission: | ReadData |
All Verbs | /ksiCards/Card/Delete | ||
---|---|---|---|
All Verbs | /ksiCards/Card/Delete/{Id} |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | path | int | No | |
RequestUnixUTCTimeStamp | query | long | No | |
Signature | query | RequestSignature | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
SystemId | form | string | No | |
SystemSecret | form | string | No | |
Signature | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Cards | form | List<BorgunSavedCards> | No | |
KsiCards | form | List<KsiCards> | No | |
StatusCode | form | int | No | |
Message | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | int | No | |
CreationDate | form | DateTime? | No | |
LastTokenDate | form | DateTime? | No | |
isDebit | form | bool? | No | |
PhoneVerificationNumber | form | string | No | |
DeviceId | form | string | No | |
VirtualCardNumber | form | string | No | |
PanLastFour | form | string | No | |
ExpYear | form | string | No | |
ExpMonth | form | string | No | |
Token | form | string | No | |
CardType | form | string | No | |
DeletedByUser | form | bool? | No | |
DeletedFromOrigin | form | bool? | No | |
DateDeletedByUser | form | DateTime? | No | |
DateDeletedFromOrigin | form | DateTime? | No | |
IsDeleted | form | bool? | No | |
DateDeletedBySystem | form | DateTime? | No | |
DeletedBySystem | form | bool? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | int | No | |
CreationDate | form | DateTime? | No | |
PhoneFullVerificationNumber | form | string | No | |
DeviceId | form | string | No | |
KsiCardTypeId | form | string | No | |
KsiClubId | form | string | No | |
HolderName | form | string | No | |
CanTransferToPhoneFullNumber | form | string | No | |
CanTransferToNName | form | string | No | |
ExpYear | form | string | No | |
ExpMonth | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=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"}