VismaBouwsoftAPICalls.v1_PUT_ProjectAddresses Method
v1_PUT_ProjectAddresses() as String

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

General Description

HTTP method API version
PUT v1

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

API Path: /ProjectAddresses/{id}

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

Fields

The following fields are available:

Field Name Type Id Type Name Length Required Writeable Force Write Link
description 2 tpString 250 No Yes No
yourreference 2 tpString 50 No Yes No
project_id 1 tpLong 0 No No No
project_pnr 1 tpLong 0 No No No
project_unr 1 tpLong 0 No No No
project_name 2 tpString 100 No No No
project_address 2 tpString 63 No No No
project_addressline2 2 tpString 63 No No No
project_countrycode 2 tpString 2 No No No
project_zipcode 2 tpString 15 No No No
project_city 2 tpString 40 No No No
project_state 2 tpString 40 No No No
project_telephone1 2 tpString 25 No No No
project_gsm 2 tpString 25 No No No
project_distance 4 tpDouble 0 No No No
project_approved 5 tpBool 0 No No No
project_rejected 5 tpBool 0 No No No
project_completed 5 tpBool 0 No No No
project_date_created 3 tpDate 0 No No No
project_date_approved 6 tpDateNullString 0 No No No
project_default 5 tpBool 0 No No No
project_be_werkplaatsnr30bis 2 tpString 50 No No No
project_company_id 1 tpLong 0 No No No
address_id 1 tpLong 0 No No No
address_clientnr 1 tpLong 0 No No No
address_suppliernr 1 tpLong 0 No No No
address_name 2 tpString 150 No No No
address_address 2 tpString 63 No No No
address_addressline2 2 tpString 63 No No No
address_countrycode 2 tpString 2 No No No
address_zipcode 2 tpString 15 No No No
address_city 2 tpString 40 No No No
address_state 2 tpString 40 No No No
address_telephone1 9 tpTelefoon 25 No No No
address_telephone2 9 tpTelefoon 25 No No No
address_fax 15 tpFax 25 No No No
address_gsm 9 tpTelefoon 25 No No No
address_email 10 tpEmail 100 No No No
address_active 5 tpBool 0 No No No
address_default 5 tpBool 0 No No No
type 2 tpString 100 No No No

/ProjectAddresses/{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/ProjectAddresses/4236

with the following parameters :

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

Query Parameters :
ParameterName: columns, ParameterValue: yourreference=’‘,description=’Hilton’

Success gives statuscode 200 And the following result

{“RecordChanges”: [
  {
    "id": 4236,
    "description": "Hilton",
    "yourreference": ""
  }
]
}