Skip to main content

Get a Resource

Retrieves the details for a resource.

Query String Parameters

NameTypeDescriptionRequired
ActionStringResourceDetailRequired
ResIdIntThe BigChange resource Id. Takes precedence over reference and code.Required
ResReferenceStringCustomer supplied resource reference. Takes precedence over code.Required
ResCodeStringCustomer supplied resource code.Required

Response Codes

CodeMessageInformation
0Response DataSee 'Response' example tab
2There are no resources in JobWatchNo data returned or set-up in BigChange
2ResId, ResReference or ResCode must be specified"At-least one of the optional parameters listed mut be provided
2Invalid ResIdInteger value is invalid or was not specified (when required)
2Unable to locate Resource by ResIdNo record found using the specified parameters
2Unable to locate Resource by ResReferenceNo record found using the specified parameters
2Unable to locate Resource by ResCodeNo record found using the specified parameters

Example

Request URL

https://webservice.bigchange.com/v01/services.ashx?action=ResourceDetail&ResId=108103