POST api/Card/Edit
edit and edit data
Request Information
URI Parameters
None.
Body Parameters
{Card,"token":""}
CardName | Description | Type | Additional information |
---|---|---|---|
id_act | integer |
None. |
|
type_card | integer |
None. |
|
id_card | string |
None. |
|
token | string |
None. |
|
languge | string |
None. |
|
stext01 | string |
None. |
|
stext02 | string |
None. |
|
salesman | string |
None. |
|
note | string |
None. |
|
city | string |
None. |
|
client_name | string |
None. |
|
phon | string |
None. |
|
ntext01 | integer |
None. |
|
ntext02 | integer |
None. |
|
user_id | integer |
None. |
|
date_active | date |
None. |
|
date_expier | date |
None. |
|
birthday | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "id_act": 1, "type_card": 2, "id_card": "sample string 3", "token": "sample string 4", "languge": "sample string 5", "stext01": "sample string 6", "stext02": "sample string 7", "salesman": "sample string 8", "note": "sample string 9", "city": "sample string 10", "client_name": "sample string 11", "phon": "sample string 12", "ntext01": 13, "ntext02": 14, "user_id": 15, "date_active": "2025-08-19T05:20:05.6190896+03:00", "date_expier": "2025-08-19T05:20:05.6190896+03:00", "birthday": "2025-08-19T05:20:05.6190896+03:00" }
text/xml
Sample:
<Card xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cards_api"> <birthday>2025-08-19T05:20:05.6190896+03:00</birthday> <city>sample string 10</city> <client_name>sample string 11</client_name> <date_active>2025-08-19T05:20:05.6190896+03:00</date_active> <date_expier>2025-08-19T05:20:05.6190896+03:00</date_expier> <id_act>1</id_act> <id_card>sample string 3</id_card> <languge>sample string 5</languge> <note>sample string 9</note> <ntext01>13</ntext01> <ntext02>14</ntext02> <phon>sample string 12</phon> <salesman>sample string 8</salesman> <stext01>sample string 6</stext01> <stext02>sample string 7</stext02> <token>sample string 4</token> <type_card>2</type_card> <user_id>15</user_id> </Card>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
{"data" [],"rowcount": 1,"status": true,"msg_error": ""}
outdataName | 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>