VismaBouwsoftAPICalls.v1_GET_ProjectContacts Method
v1_GET_ProjectContacts() as String

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

HTTP method API version
GET v1

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

API Path: /ProjectContacts/
or
API Path: /ProjectContacts/{id}

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

Fields

The following fields are available:

Field Name Type
id Number
project_id Number
project_pnr Number
project_approved Boolean
project_rejected Boolean
project_completed Boolean
address_id Number
address_name String
address_active Boolean
contact_id Number
contact_salutation String
contact_name String
contact_function String
contact_department String
contact_address String
contact_addressline2 String
contact_countrycode String
contact_zipcode String
contact_city String
contact_state String
contact_email String
contact_telephone String
contact_fax String
contact_gsm String

/ProjectContacts/

API Path: /ProjectContacts/

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

with the following parameters :

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

Query Parameters :
ParameterName: limit, ParameterValue: 5
ParameterName: sort, ParameterValue: id

Success gives statuscode 200 And the following result

{ “Content-Range”:“0–4/61”, “Records”: [
  {
    "id": 3,
    "project_id": 69,
    "project_pnr": 20120043,
    "project_approved": false,
    "project_rejected": false,
    "project_completed": false,
    "address_id": 3688,
    "address_name": "Gasthof Lophem Nieuw",
    "address_active": true,
    "contact_id": 36,
    "contact_salutation": "De Heer",
    "contact_name": "Carlito Lutters",
    "contact_function": "",
    "contact_department": "",
    "contact_address": "Molenweg",
    "contact_addressline2": "",
    "contact_countrycode": "BE",
    "contact_zipcode": "8377",
    "contact_city": "Meetkerke",
    "contact_state": "West-vlaanderen",
    "contact_email": "",
    "contact_telephone": "+32 50 45 45 82 ",
    "contact_fax": "+32 50 32 38 08 ",
    "contact_gsm": "+32 475 56 07 54 "
  },
  {
    "id": 4,
    "project_id": 69,
    "project_pnr": 20120043,
    "project_approved": false,
    "project_rejected": false,
    "project_completed": false,
    "address_id": 3688,
    "address_name": "Gasthof Lophem Nieuw",
    "address_active": true,
    "contact_id": 37,
    "contact_salutation": "De Heer",
    "contact_name": "Dirk Cleenwerck",
    "contact_function": "",
    "contact_department": "",
    "contact_address": "Groenstraat 30",
    "contact_addressline2": "",
    "contact_countrycode": "BE",
    "contact_zipcode": "8210",
    "contact_city": "Zedelgem",
    "contact_state": "West-Vlaanderen",
    "contact_email": "",
    "contact_telephone": "",
    "contact_fax": "",
    "contact_gsm": ""
  }
,

]
}

/ProjectContacts/{id}

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

with the following parameters :

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

Success gives statuscode 200 And the following result

{ “Content-Range”:“0–60/61”, “Records”: [
  {
    "id": 68,
    "project_id": 1508,
    "project_pnr": 20180266,
    "project_approved": false,
    "project_rejected": false,
    "project_completed": false,
    "address_id": 14452,
    "address_name": "Welkens",
    "address_active": true,
    "contact_id": 10755,
    "contact_salutation": "",
    "contact_name": "",
    "contact_function": "",
    "contact_department": "",
    "contact_address": "Bosuil 103",
    "contact_addressline2": "",
    "contact_countrycode": "BE",
    "contact_zipcode": "2100",
    "contact_city": "Deurne (Antwerpen)",
    "contact_state": "Antwerpen",
    "contact_email": "",
    "contact_telephone": "+32 3 326 15 38 ",
    "contact_fax": "+32 3 888 91 84 ",
    "contact_gsm": ""
  },
  {
    "id": 69,
    "project_id": 943,
    "project_pnr": 20170172,
    "project_approved": false,
    "project_rejected": false,
    "project_completed": false,
    "address_id": 10807,
    "address_name": "Van Keulen Loodgieters",
    "address_active": true,
    "contact_id": 7110,
    "contact_salutation": "",
    "contact_name": "",
    "contact_function": "",
    "contact_department": "",
    "contact_address": "Ringlaan 33",
    "contact_addressline2": "",
    "contact_countrycode": "BE",
    "contact_zipcode": "2170",
    "contact_city": "Merksem (Antwerpen)",
    "contact_state": "Antwerpen",
    "contact_email": "",
    "contact_telephone": "",
    "contact_fax": "",
    "contact_gsm": ""
  }
,

]
}