Get operations
POST
/api/RPC.common.Api.Operations.get?token=<TOKEN>Parameters
| Field | Type | Description |
|---|---|---|
type | String | Operation type |
name | String | Operation name |
get_all | Boolean | Get all |
Request example
Search By Type:
{
"data" : [
{
"type" : "po"
}
]
}
Search By Name:
{
"data" : [
{
"name" : "Purchase order"
}
]
}
Search By All Params:
{
"data" : [
{
"name" : "Purchase order",
"type" : "po"
}
]
}
Get All:
{
"data":[
{}
],
"get_all":1,
"limit":10000,
"offset":0
}cURL
Search By Type:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -d '{ "data" : [ { "type" : "po" } ]}' "https://<DOMAIN_NAME>/api/RPC.common.Api.Operations.get?token=<TOKEN>"
Search By Name:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -d '{ "data" : [ { "name" : "Purchase order" } ]}' "https://<DOMAIN_NAME>/api/RPC.common.Api.Operations.get?token=<TOKEN>"
Search By All Params:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -d '{ "data" : [ { "name" : "Purchase order", "type" : "po" } ]}' "https://<DOMAIN_NAME>/api/RPC.common.Api.Operations.get?token=<TOKEN>"
Curl example Get All:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -d '{ "data":[ {} ], "get_all":1, "limit":10000, "offset":0} ' "https://<DOMAIN_NAME>/api/RPC.common.Api.Operations.get?token=<TOKEN>"