/
Voucher Types Endpoint
Voucher Types Endpoint
In the list below you will find the endpoints related to Voucher Types and the actions related to them:
Detail
This endpoint enables you to show the details of any voucher type.
Uri:
/api/v2/third_party/voucher_types/{id}
Method:
GET
Header:
'X-SIMA-APIKEY: {API-KEY}',
'X-SIMA-SYSTEM-ID: {API-SYSTEM-ID}',
'Accept: application/json',
'Content-Type: application/json'
Parameters:
id: (int) This value is the id of the voucher type you would like to get the details.
Response Example:
{
"id": 7,
"description": "Orden de Aplicación"
}
List
This endpoint enables you to list all voucher types.
Uri:
/api/v2/third_party/voucher_types
Method:
GET
Header:
'X-SIMA-APIKEY: {API-KEY}',
'X-SIMA-SYSTEM-ID: {API-SYSTEM-ID}',
'Accept: application/json',
'Content-Type: application/json'
Parameters:
page: (int) default value 1
size: (int) default value 10
Response Example:
{
"items": [
{
"id": 7,
"description": "Orden de Aplicación"
},
{
"id": 18,
"description": "Orden de Fertilización"
},
{
"id": 19,
"description": "Orden de Cosecha"
},
{
"id": 17,
"description": "Orden de Siembra"
},
{
"id": 47,
"description": "Orden de Laboreo"
}
],
"current_page": 1,
"next_page": 1,
"total_pages": 1,
"total_items": 5
}
Related content
Work Order endpoints
Work Order endpoints
More like this
Formulated endpoint
Formulated endpoint
Read with this
FormulatedUse endpoint
FormulatedUse endpoint
More like this
Integration Protocol Documentation - Third Party -
Integration Protocol Documentation - Third Party -
Read with this
Work Order Labour Type Attributes endpoints
Work Order Labour Type Attributes endpoints
More like this
Work Order endpoints (v3)
Work Order endpoints (v3)
More like this