Change of description
This endpoint is deprecated.
POST
/api/RPC.common.Api.FinDoc.changeDescription?token=<TOKEN>Parameters
| Field | Type | Description |
|---|---|---|
id | Integer | Financial document ID |
numrequired | String | Document # |
descriptionrequired | String | Description |
internal_descriptionrequired | String | Internal description |
Request example
Change Description By Num:
{
"data" : [
{
"num" : "0000000001",
"description" : "Lorem Ipsum Description",
"internal_description" : "Lorem Ipsum Internal Description"
}
]
}
Change Description By Id:
{
"data" : [
{
"id" : 3225622,
"description" : "Lorem Ipsum Description",
"internal_description" : "Lorem Ipsum Internal Description"
}
]
}cURL
Change Description By Num:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -d '{ "data" : [ { "num" : "0000000001", "description" : "Lorem Ipsum Description", "internal_description" : "Lorem Ipsum Internal Description" } ]}' "https://<DOMAIN_NAME>/api/RPC.common.Api.FinDoc.changeDescription?token=<TOKEN>"
Change Description By Id:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -d '{ "data" : [ { "id" : 3225622, "description" : "Lorem Ipsum Description", "internal_description" : "Lorem Ipsum Internal Description" } ]}' "https://<DOMAIN_NAME>/api/RPC.common.Api.FinDoc.changeDescription?token=<TOKEN>"Response example
HTTP/1.1 200 OK
{
"result" : [
{
"for_date" : "2020-10-06",
"id" : 3225622,
"pos_name" : "",
"num" : "0000000001",
"updatedon" : "2026-01-01 09:22:28",
"type_action" : "invoice",
"createdon" : "2021-10-06 14:40:20",
"description" : null,
"internal_description" : null,
"type" : "invoice",
"for_date_formated" : "06.10.2020",
"rel_trans" : [
{
"trans_id" : 3225622,
"num" : null,
"for_date" : "2020-10-06",
"rel_trans_id" : 3225628,
"type" : "bank_income"
},
{
"rel_trans_id" : 3225607,
"for_date" : "2020-10-06",
"type" : "so",
"trans_id" : 3225622,
"num" : "CO10000001"
}
]
}
]
}