GET Custodian/GetAll

Gets all the Custodians

Request Information

Header Parameters

NameDescriptionTypeAdditional information
Authorization

The authorization token prefixed with 'Bearer'

string

Required

Sample:
Authorization: Bearer gBsdjflsdkj#wsjelKDSDdsdDTjeYYfvikg2cZQIu_ombqpyE7DZgEHClLO06EtHLFV65lelXVwx9JR33gib3nxzzJKLSDFJ-Xrt5ressxjArc3F6hy1J...        

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Type: Collection of CustodianModel
NameDescriptionTypeAdditional information
Name

The custodian name

string

None.

Id

The custodian identifier

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Name": "sample string 1",
    "Id": 2
  },
  {
    "Name": "sample string 1",
    "Id": 2
  }
]

application/xml, text/xml

Sample:
<ArrayOfCustodianModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PP.Contracts.WebApi.Client">
  <CustodianModel>
    <Id>2</Id>
    <Name>sample string 1</Name>
  </CustodianModel>
  <CustodianModel>
    <Id>2</Id>
    <Name>sample string 1</Name>
  </CustodianModel>
</ArrayOfCustodianModel>