GET api/v1/get_usertypes

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of CustomerTypeVM
NameDescriptionTypeAdditional information
id

integer

None.

name

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "2",
    "id": 1,
    "name": "sample string 2"
  },
  {
    "$ref": "2"
  }
]

text/html

Sample:
{"$id":"1","$values":[{"$id":"2","id":1,"name":"sample string 2"},{"$ref":"2"}]}

application/xml, text/xml

Sample:
<ArrayOfCustomerTypeVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BellaArmorAPI.Models.ViewModels">
  <CustomerTypeVM>
    <id>1</id>
    <name>sample string 2</name>
  </CustomerTypeVM>
  <CustomerTypeVM>
    <id>1</id>
    <name>sample string 2</name>
  </CustomerTypeVM>
</ArrayOfCustomerTypeVM>

multipart/form-data

Sample:
<ArrayOfCustomerTypeVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BellaArmorAPI.Models.ViewModels"><CustomerTypeVM><id>1</id><name>sample string 2</name></CustomerTypeVM><CustomerTypeVM><id>1</id><name>sample string 2</name></CustomerTypeVM></ArrayOfCustomerTypeVM>