VismaBouwsoftAPICalls.v1_PUT_Hours Method
v1_PUT_Hours() as String

This API call is used to update fields of a(n) Hour

General Description

HTTP method API version
PUT v1

Don’t forget to put the Authorization field in the header

API Path: /Hours/{id}/note_plain

You make this API call with the key field id as the path parameter (the id of the Hour you want to update)

Fields

The following fields are available:

Field Name Type
id Number

/Hours/{id}/note_plain

If everything succeeds the HTTP response status is 200
(200 OK)

If there is something wrong with the request, the response status and code is 400
(400 Bad Request)

If there is no record that has the requested id the HTTP response status and code is 404
(404 Not found)

If you forget to send the Authorization, the response status is 401
(401 Unauthorized)

If what you sent can’t be processed, the response status is 500
(500 Internal Server Error)

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/Hours/19/note_plain

with the following parameters :

Header Parameters :
ParameterName: Clientnr, ParameterValue: 115
ParameterName: AccessToken, ParameterValue: DkGfWxfrtbzSffmIUfzRqmAUfkVDGfAlfUIbzGfIkbUfbjPmOV

Body Parameters :
ParameterName: bodyParameterValue: API test. note_plain

Success gives statuscode 400 And the following result

{“RecordChanges”: [
  {
    "Code": "400",
    "Message": "Bad Request",
    "Description": "Content-Type must be included in the request"
  }
]
}

https://ra.bouwsoft.be/api/v1/Hours/19/note_plain

with the following parameters :

Header Parameters :
ParameterName: Clientnr, ParameterValue: 115
ParameterName: AccessToken, ParameterValue: DkGfWxfrtbzSffmIUfzRqmAUfkVDGfAlfUIbzGfIkbUfbjPmOV

Body Parameters :
ParameterName: bodyParameterValue: API test note_plain2

Success gives statuscode 400 And the following result

{“RecordChanges”: [
  {
    "Code": "400",
    "Message": "Bad Request",
    "Description": "Content-Type must be included in the request"
  }
]
}

https://ra.bouwsoft.be/api/v1/Hours/19/note_plain

with the following parameters :

Header Parameters :
ParameterName: Clientnr, ParameterValue: 115
ParameterName: AccessToken, ParameterValue: PPPfWxfOmrzSfUDrDfzRqUGUfGVjkGVOfUAkzDtbVPbIDtbkDr

Body Parameters :
API test note_plain

Success gives statuscode 200 And the following result

API test note_plain