POST v2/consumers-web/cards/toggle-block-statuses

Request Information

URI Parameters

None.

Body Parameters

ToggleCardBlockStatusesRequest
NameDescriptionTypeAdditional information
CardAccountId

globally unique identifier

None.

IsBlocked

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "CardAccountId": "6075cbed-c9d9-437c-9bbf-9c7a752dbb3b",
  "IsBlocked": true
}

application/xml, text/xml

Sample:
<ToggleCardBlockStatusesRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FfMobileApi.Models.Cards">
  <CardAccountId>6075cbed-c9d9-437c-9bbf-9c7a752dbb3b</CardAccountId>
  <IsBlocked>true</IsBlocked>
</ToggleCardBlockStatusesRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ToggleCardBlockStatusesRequest'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.