VismaBouwsoftAPICalls.v1_GET_ProjectStaff Method
v1_GET_ProjectStaff() as String

This API call is used to get fields of a(n) ProjectStaff(s)

HTTP method API version
GET v1

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

API Path: /ProjectStaff/
or

You can make this API call:
* without the key field id to get a list of ProjectStaff
* with the key field id as the path parameter (the specific id of the ProjectStaff you want to get)

Fields

The following fields are available:

Field Name Type
id Number
project_id Number
project_pnr Number
project_unr Number
project_name String
employee_id Number
employee_name String
employee_initials String
employee_address String
employee_addressline2 String
employee_countrycode String
employee_zipcode String
employee_city String
employee_state String
employee_telephone1 String
employee_telephone2 String
employee_fax String
employee_gsm String
employee_email String
type String

/ProjectStaff/

API Path: /ProjectStaff/

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 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/ProjectStaff

with the following parameters :

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

Query Parameters :
ParameterName: filter, ParameterValue: project_pnr eq 20200038

Success gives statuscode 200 And the following result

{ “Content-Range”:“0–3/4”, “Records”: [
  {
    "id": 326,
    "project_id": 2217,
    "project_pnr": 20200038,
    "project_unr": 2018001256,
    "project_name": "testje",
    "employee_id": 301,
    "employee_name": "Andy Averechtss",
    "employee_initials": "AA",
    "employee_address": "Hogeweg 37",
    "employee_addressline2": "",
    "employee_countrycode": "BE",
    "employee_zipcode": "8200",
    "employee_city": "Brugge",
    "employee_state": "West-Vlaanderen",
    "employee_telephone1": "",
    "employee_telephone2": "",
    "employee_fax": "",
    "employee_gsm": "",
    "employee_email": "",
    "type": "Project Leader"
  },
  {
    "id": 325,
    "project_id": 2217,
    "project_pnr": 20200038,
    "project_unr": 2018001256,
    "project_name": "testje",
    "employee_id": 164,
    "employee_name": "BAEKELAND Leandro",
    "employee_initials": "BL",
    "employee_address": "Blankenbergse Dijk 65",
    "employee_addressline2": "",
    "employee_countrycode": "BE",
    "employee_zipcode": "8370",
    "employee_city": "Uitkerke",
    "employee_state": "West-Vlaanderen",
    "employee_telephone1": "+32 42 55 55 ",
    "employee_telephone2": "",
    "employee_fax": "",
    "employee_gsm": "+32 495 76 22 63 ",
    "employee_email": "",
    "type": "Calculator"
  }
,

]
}