VismaBouwsoftAPICalls.v1_POST_HourGroups | Method |
This API call is used to add a(n) HourGroup
General Description
HTTP method | API version |
---|---|
POST | v1 |
Don’t forget to put the Authorization field in the header
API Path: /HourGroups
or
Fields
The following fields are available:
Field Name | Type |
---|---|
id | Number |
name | String |
list_id | Number |
list_name | String |
/HourGroups
API Path: /HourGroups/
If everything succeeds the HTTP response status is 201
(201 CREATED)
If you forget to send the Authorization, the response status and code is 401
(401 Unauthorized)
For an explanation of all possible errors, please consult our section on possible answers to API calls here
Examples:
https://ra.bouwsoft.be/api/v1/HourGroups
with the following parameters :
Header Parameters :
ParameterName: Clientnr, ParameterValue: 115
ParameterName: AccessToken, ParameterValue: PPDfWxfPlAzSfkDmGfzRqPrmfmGfGfjAfVmbzVbAPtkftfmOfk
Query Parameters :
ParameterName: columns, ParameterValue: name=’APIHourGroup’,list_id=2
Success gives statuscode 201 And the following result
{“RecordChanges”:
[
{
"id": 15,
"name": "APIHourGroup",
"list_id": 2,
"list_name": "ALGEMEEN"
}
]
}