POST api/v1/cards
Request Information
URI Parameters
None.
Body Parameters
CardDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Code | string |
None. |
|
| Stage | CardStage |
None. |
|
| ExpirationDate | date |
None. |
|
| IsArchived | boolean |
None. |
|
| CardTypeCode | string |
None. |
|
| CardTypeName | string |
None. |
|
| CustomerId | globally unique identifier |
None. |
|
| RelativeId | globally unique identifier |
None. |
|
| RelativeFirstName | string |
None. |
|
| RelativeLastName | string |
None. |
|
| CreationDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": "8ec69b50-fcb7-4f0f-9c3a-1efda740efc3",
"code": "sample string 1",
"stage": 0,
"expirationDate": "2026-07-30T10:18:38.9370502+00:00",
"isArchived": true,
"cardTypeCode": "sample string 3",
"cardTypeName": "sample string 4",
"customerId": "b0767ced-f017-44eb-82a0-45da17b7c71d",
"relativeId": "4f4d68ab-2838-4cf2-90c5-6ba6081e73c0",
"relativeFirstName": "sample string 6",
"relativeLastName": "sample string 7",
"creationDate": "2026-07-30T10:18:38.9370502+00:00"
}
application/xml, text/xml
Sample:
<CardDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Domain.Dtos"> <CardTypeCode>sample string 3</CardTypeCode> <CardTypeName>sample string 4</CardTypeName> <Code>sample string 1</Code> <CreationDate>2026-07-30T10:18:38.9370502+00:00</CreationDate> <CustomerId>b0767ced-f017-44eb-82a0-45da17b7c71d</CustomerId> <ExpirationDate>2026-07-30T10:18:38.9370502+00:00</ExpirationDate> <Id>8ec69b50-fcb7-4f0f-9c3a-1efda740efc3</Id> <IsArchived>true</IsArchived> <RelativeFirstName>sample string 6</RelativeFirstName> <RelativeId>4f4d68ab-2838-4cf2-90c5-6ba6081e73c0</RelativeId> <RelativeLastName>sample string 7</RelativeLastName> <Stage>Requested</Stage> </CardDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.