Retrieves assignment array
curl --request GET \
--url https://api.hierarch.io/v1/assignment/query/{company_slug}/ \
--header 'token: <api-key>'
{
"loop": [
{
"assignment": {
"id": 123,
"title": "<string>",
"description": "<string>",
"status": "<string>",
"remarks": "<string>",
"product": {
"id": 123,
"name": "<string>"
},
"pipeline": {
"id": 123,
"name": "<string>"
}
},
"handbooks": [
{
"id": 123,
"title": "<string>",
"slug": "<string>"
}
],
"clients": [
{
"id": 123,
"first_name": "<string>",
"last_name": "<string>",
"profile_photo": "<string>"
}
],
"personnel": [
{
"id": 123,
"first_name": "<string>",
"last_name": "<string>",
"role_name": "<string>"
}
]
}
],
"current_page": "<string>",
"max_page": "<string>",
"start_count": "<string>",
"end_count": "<string>",
"max_count": "<string>"
}
API token provided to your company
Search term, blank by default
Page number, 1 by default
Data order - newest / oldest
This is your company url
OK Response
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://api.hierarch.io/v1/assignment/query/{company_slug}/ \
--header 'token: <api-key>'
{
"loop": [
{
"assignment": {
"id": 123,
"title": "<string>",
"description": "<string>",
"status": "<string>",
"remarks": "<string>",
"product": {
"id": 123,
"name": "<string>"
},
"pipeline": {
"id": 123,
"name": "<string>"
}
},
"handbooks": [
{
"id": 123,
"title": "<string>",
"slug": "<string>"
}
],
"clients": [
{
"id": 123,
"first_name": "<string>",
"last_name": "<string>",
"profile_photo": "<string>"
}
],
"personnel": [
{
"id": 123,
"first_name": "<string>",
"last_name": "<string>",
"role_name": "<string>"
}
]
}
],
"current_page": "<string>",
"max_page": "<string>",
"start_count": "<string>",
"end_count": "<string>",
"max_count": "<string>"
}
Retrieves assignment array
curl --request GET \
--url https://api.hierarch.io/v1/assignment/query/{company_slug}/ \
--header 'token: <api-key>'
{
"loop": [
{
"assignment": {
"id": 123,
"title": "<string>",
"description": "<string>",
"status": "<string>",
"remarks": "<string>",
"product": {
"id": 123,
"name": "<string>"
},
"pipeline": {
"id": 123,
"name": "<string>"
}
},
"handbooks": [
{
"id": 123,
"title": "<string>",
"slug": "<string>"
}
],
"clients": [
{
"id": 123,
"first_name": "<string>",
"last_name": "<string>",
"profile_photo": "<string>"
}
],
"personnel": [
{
"id": 123,
"first_name": "<string>",
"last_name": "<string>",
"role_name": "<string>"
}
]
}
],
"current_page": "<string>",
"max_page": "<string>",
"start_count": "<string>",
"end_count": "<string>",
"max_count": "<string>"
}
API token provided to your company
Search term, blank by default
Page number, 1 by default
Data order - newest / oldest
This is your company url
OK Response
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://api.hierarch.io/v1/assignment/query/{company_slug}/ \
--header 'token: <api-key>'
{
"loop": [
{
"assignment": {
"id": 123,
"title": "<string>",
"description": "<string>",
"status": "<string>",
"remarks": "<string>",
"product": {
"id": 123,
"name": "<string>"
},
"pipeline": {
"id": 123,
"name": "<string>"
}
},
"handbooks": [
{
"id": 123,
"title": "<string>",
"slug": "<string>"
}
],
"clients": [
{
"id": 123,
"first_name": "<string>",
"last_name": "<string>",
"profile_photo": "<string>"
}
],
"personnel": [
{
"id": 123,
"first_name": "<string>",
"last_name": "<string>",
"role_name": "<string>"
}
]
}
],
"current_page": "<string>",
"max_page": "<string>",
"start_count": "<string>",
"end_count": "<string>",
"max_count": "<string>"
}