POST api/Card/AssignCardToUser

Request Information

URI Parameters

None.

Body Parameters

cardRequest
NameDescriptionTypeAdditional information
cardNumber

integer

None.

userName

string

None.

cardType

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "cardNumber": 1,
  "userName": "sample string 2",
  "cardType": 3
}

application/xml, text/xml

Sample:
<CardController.cardRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomerAPI.Controllers">
  <cardNumber>1</cardNumber>
  <cardType>3</cardType>
  <userName>sample string 2</userName>
</CardController.cardRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>