Skip to main content

Get a Job Site Address

This web service sets the Job Site Address for a job.

Query String Parameters

NameTypeDescriptionRequired
ActionStringJobSiteAddressRequired
SAJobIdidThe Id of the job.Required
SAJobReferenceStringThe BigChange job reference.Required
SAContactIdIntThe contacts Id. You can use a contact address to set the job site address using Contact Id or Contact Reference.Optional
SAContactReferenceStringThe contacts reference.Optional
SAStreetStringSite address street name.Optional
SANameStringSite address name.Optional
SAPostcodeStringSite address post code.Optional
SACityStringSite address city.Optional
SACountryStringSite address country.Optional
SALatDoubleSite address latitude coordinates.Optional
SALonDoubleSite address longitude coordinates.Optional
SANotesStringSite address notes.Optional

Response Codes

CodeMessageInformation
0SAJobId or SAJobRef parameter expected
0new { jobId = job.JobId
2Invalid parameter - SAJobId
2Invalid parameter - SAContactId
2Job not found
2No address fields supplied
2Invalid lat/lng coordinates
2Cannot resolve address
2ex.Message.ToString(

Example

Request URL

https://webservice.bigchange.com/v01/services.ashx?action=jobsiteaddress