POST api/v2/CardSave
Request Information
URI Parameters
None.
Body Parameters
dataCard| Name | Description | Type | Additional information |
|---|---|---|---|
| type_card | integer |
None. |
|
| token | string |
None. |
|
| languge | string |
None. |
|
| salesman | string |
None. |
|
| note | string |
None. |
|
| city | string |
None. |
|
| client_name | string |
None. |
|
| phon | string |
None. |
|
| user_id | integer |
None. |
|
| birthday | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"type_card": 1,
"token": "sample string 2",
"languge": "sample string 3",
"salesman": "sample string 4",
"note": "sample string 5",
"city": "sample string 6",
"client_name": "sample string 7",
"phon": "sample string 8",
"user_id": 9,
"birthday": "2025-12-06T07:26:40.9632829+03:00"
}
text/xml
Sample:
<dataCard xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cards_api"> <birthday>2025-12-06T07:26:40.9632829+03:00</birthday> <city>sample string 6</city> <client_name>sample string 7</client_name> <languge>sample string 3</languge> <note>sample string 5</note> <phon>sample string 8</phon> <salesman>sample string 4</salesman> <token>sample string 2</token> <type_card>1</type_card> <user_id>9</user_id> </dataCard>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
outdata| Name | Description | Type | Additional information |
|---|---|---|---|
| data | DataTable |
None. |
|
| rowcount |
if get data then return count row else return the id row affected |
integer |
None. |
| status | boolean |
None. |
|
| msg_error | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"data": null,
"rowcount": 1,
"status": true,
"msg_error": "sample string 3"
}
text/xml
Sample:
<outdata xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cards_api"> <data i:nil="true" /> <msg_error>sample string 3</msg_error> <rowcount>1</rowcount> <status>true</status> </outdata>