Industry

Industry is a property of the organization object. It represents an Industry lookup value.

Supported API Calls: List | Add | Update | Delete

Object Properties

Industry shares all properties with its base LookupValue object.

List

Description

Returns a list of industry lookup values.

URL

https://{company}.bluecamroo.com/api/industry/list

HTTP Method

GET

Data Return

Returns a list of existing industry objects in the requested format (e.g., JSON or XML)

HTTP Return Status Code

200: Ok

400: Bad Request (One or more input data items is not valid, for example a mandatory field is blank)

401: Not authorized (you need to log in)

403: Forbidden (you don't have permission to this resource)

Add

Description

Adds the industry object to the list of industries lookup values.

URL

https://{company}.bluecamroo.com/api/industry/add

HTTP Method

POST

Parameters

Industry object

Data Return

Returns the industry in the requested format (e.g., JSON or XML)

HTTP Return Status Code

201: Created

401: Not authorized (you need to log in)

403: Forbidden (you don't have permission to this resource)

Update

Description

Pass an industry object to replace the specified industry lookup value.

URL

https://{company}.bluecamroo.com/api/industry/update

HTTP Method

PUT

Parameters

Industry object

Data Return

Returns the industry in the requested format (e.g., JSON or XML)

HTTP Return Status Code

200: Ok

400: Bad Request (One or more input data items is not valid, for example a mandatory field is blank)

401: Not authorized (you need to log in)

403: Forbidden (you don't have permission to this resource)

Delete

Description

Deletes the specified industry lookup value. The lookup value to delete is specified by Id value.

URL

https://{company}.bluecamroo.com/api/industry/delete/{id}

HTTP Method

DELETE

Parameters

None

Data Return

None

HTTP Return Status Code

200: Ok

400: Bad Request (One or more input data items is not valid, for example a mandatory field is blank)

401: Not authorized (you need to log in)

403: Forbidden (you don't have permission to this resource)