POST api/Cards/LockCard

POST api/Cards/LockCard

Send card_Id Server answers with CardResponse

Request Information

URI Parameters

None.

Body Parameters

cardId

cCardInfo
NameDescriptionTypeAdditional information
cardId

cardId

string

None.

Lock

Should the card be locked or the lock removed?

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "cardId": "sample string 1",
  "Lock": true
}

application/xml, text/xml

Sample:
<cCardInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KOSTIFC">
  <Lock>true</Lock>
  <cardId>sample string 1</cardId>
</cCardInfo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

True/False, Message

cCardResponse
NameDescriptionTypeAdditional information
Success

Boolean to indicate success

boolean

None.

Message

Additional Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<cCardResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KOSTIFC">
  <Message>sample string 2</Message>
  <Success>true</Success>
</cCardResponse>