== TYPES OF COLLATERAL

The Types of collateral resource is used to get, list, create, and update types of collateral.

=== List types of collateral

A `GET` request will retrieve the list of types of collateral.

==== Response fields

include::{snippets}/types-of-collateral-get-all-example/response-fields.adoc[]

==== Example request

include::{snippets}/types-of-collateral-get-all-example/http-request.adoc[]

==== Example response

include::{snippets}/types-of-collateral-get-all-example/http-response.adoc[]

=== Retrieve a type of collateral

A `GET` request with id will retrieve the details of a type of collateral.

==== Response fields

include::{snippets}/types-of-collateral-get-example/response-fields.adoc[]

==== Example request

include::{snippets}/types-of-collateral-get-example/http-request.adoc[]

==== Example response

include::{snippets}/types-of-collateral-get-example/http-response.adoc[]

=== Create a type of collateral

A `POST` request will create a new type of collateral.

==== Request fields

include::{snippets}/types-of-collateral-create-example/request-fields.adoc[]

==== Response fields

include::{snippets}/types-of-collateral-create-example/response-fields.adoc[]

==== Example request

include::{snippets}/types-of-collateral-create-example/http-request.adoc[]

==== Example response

include::{snippets}/types-of-collateral-create-example/http-response.adoc[]

=== Update a type of collateral

A `PUT` request will update the details of a type of collateral.

==== Request fields

include::{snippets}/types-of-collateral-update-example/request-fields.adoc[]

==== Response fields

include::{snippets}/types-of-collateral-update-example/response-fields.adoc[]

==== Example request

include::{snippets}/types-of-collateral-update-example/http-request.adoc[]

==== Example response

include::{snippets}/types-of-collateral-update-example/http-response.adoc[]
