SupplierType

This lookup value is used for Supplier Types.

Supported API Calls: List | Add | Update | Delete

Object Properties

Annual shares all properties with its base LookupValue object.

List

Description

Returns a list of Supplier Types lookup values.

URL

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

HTTP Method

GET

Data Return

Returns a list of existing SupplierType 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 SupplierType object lookup value to the list of Supplier Types.

URL

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

HTTP Method

POST

Parameters

A SupplierType object

Data Return

Returns the SupplierType object 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 a SupplierType object to replace the specified Supplier Types lookup value.

URL

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

HTTP Method

PUT

Parameters

A SupplierType object

Data Return

Returns the SupplierType object 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 Supplier Types lookup value. The Supplier Types lookup value to delete is specified by Id value.

URL

https://{company}.bluecamroo.com/api/SupplierType/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)