VismaBouwsoftAPICalls.v1_POST_ProjectAddresses Method
v1_POST_ProjectAddresses() as String

This API call is used to add a(n) ProjectAddress

General Description

HTTP method API version
POST v1

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

API Path: /ProjectAddresses
or

Fields

The following fields are available:

Field Name Type
id Number
description String
yourreference String
project_id Number
project_pnr Number
project_unr Number
project_name String
project_address String
project_addressline2 String
project_countrycode String
project_zipcode String
project_city String
project_state String
project_telephone1 String
project_gsm String
project_distance Number
project_approved Boolean
project_rejected Boolean
project_completed Boolean
project_date_created String
project_date_approved String
project_default Boolean
project_be_werkplaatsnr30bis String
project_company_id Number
address_id Number
address_clientnr Number
address_suppliernr Number
address_name String
address_address String
address_addressline2 String
address_countrycode String
address_zipcode String
address_city String
address_state String
address_telephone1 String
address_telephone2 String
address_fax String
address_gsm String
address_email String
address_active Boolean
address_default Boolean
type String

/ProjectAddresses

API Path: /ProjectAddresses/

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

with the following parameters :

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

Query Parameters :
ParameterName: columns, ParameterValue: yourreference=’APIPro01‘,description=’API ProjectAddress’,project_id=3149,address_id=328892

Success gives statuscode 201 And the following result

{“RecordChanges”: [
  {
    "id": 3774,
    "description": "API ProjectAddress",
    "yourreference": "APIPro01",
    "project_id": 3149,
    "project_pnr": 2013086,
    "project_unr": 1275,
    "project_name": "Schilderen van API blokjes",
    "project_address": "Gruuthof 23",
    "project_addressline2": "",
    "project_countrycode": "BE",
    "project_zipcode": "8490",
    "project_city": "Varsenare",
    "project_state": "West-vlaanderen",
    "project_telephone1": "",
    "project_gsm": "",
    "project_distance": 20,
    "project_approved": true,
    "project_rejected": false,
    "project_completed": false,
    "project_date_created": "2025–02–12",
    "project_date_approved": "2025–02–12",
    "project_default": false,
    "project_be_werkplaatsnr30bis": "",
    "project_company_id": 2,
    "address_id": 328892,
    "address_clientnr": 0,
    "address_suppliernr": 201700451,
    "address_name": "DirkAPISupp",
    "address_address": "Molleweg 9",
    "address_addressline2": "",
    "address_countrycode": "BE",
    "address_zipcode": "8377",
    "address_city": "Meetkerke",
    "address_state": "West-vlaanderen",
    "address_telephone1": "",
    "address_telephone2": "",
    "address_fax": "",
    "address_gsm": "",
    "address_email": "",
    "address_active": true,
    "address_default": false,
    "type": ""
  }
]
}

https://ra.bouwsoft.be/api/v1/ProjectAddresses

with the following parameters :

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

Query Parameters :
ParameterName: columns, ParameterValue: yourreference=’APIPro02‘,description=’API ProjectAddress2’,project_id=3149,address_id=3759

Success gives statuscode 201 And the following result

{“RecordChanges”: [
  {
    "id": 3773,
    "description": "API ProjectAddress2",
    "yourreference": "APIPro02",
    "project_id": 3149,
    "project_pnr": 2013086,
    "project_unr": 0,
    "project_name": "Schilderen van API blokjes",
    "project_address": "Gistelse steenweg 41",
    "project_addressline2": "",
    "project_countrycode": "BE",
    "project_zipcode": "8200",
    "project_city": "Brugge",
    "project_state": "West-Vlaanderen",
    "project_telephone1": "",
    "project_gsm": "",
    "project_distance": 20,
    "project_approved": false,
    "project_rejected": false,
    "project_completed": false,
    "project_date_created": "2025–02–12",
    "project_date_approved": "",
    "project_default": false,
    "project_be_werkplaatsnr30bis": "",
    "project_company_id": 2,
    "address_id": 3759,
    "address_clientnr": 1590,
    "address_suppliernr": 0,
    "address_name": "Spikesoft",
    "address_address": "Gruuthof 23",
    "address_addressline2": "",
    "address_countrycode": "BE",
    "address_zipcode": "8490",
    "address_city": "Varsenare",
    "address_state": "West-vlaanderen",
    "address_telephone1": "+32 486 60 64 21",
    "address_telephone2": "",
    "address_fax": "",
    "address_gsm": "",
    "address_email": "gino@bouwsoft.be",
    "address_active": true,
    "address_default": true,
    "type": "Client"
  }
]
}