GET Api/Title/List
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
ResultOfTitleList| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| ErrorMessage | Collection of string |
None. |
|
| Value | TitleList |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Message": "sample string 2",
"ErrorMessage": [
"sample string 1",
"sample string 2"
],
"Value": {
"Total": 1,
"TitleDetails": [
{
"TitleID": 1,
"TitleName": "sample string 2"
},
{
"TitleID": 1,
"TitleName": "sample string 2"
}
]
}
}
application/xml, text/xml
Sample:
<ResultOfTitleListVHDxlVkh xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GoSwitch.CustomerTools.Models.Common.Returns">
<ErrorMessage xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</ErrorMessage>
<Message>sample string 2</Message>
<Success>true</Success>
<Value xmlns:d2p1="http://schemas.datacontract.org/2004/07/GoSwitch.CustomerTools.Models.Master.Objects">
<d2p1:TitleDetails>
<d2p1:TitleDetail>
<d2p1:TitleID>1</d2p1:TitleID>
<d2p1:TitleName>sample string 2</d2p1:TitleName>
</d2p1:TitleDetail>
<d2p1:TitleDetail>
<d2p1:TitleID>1</d2p1:TitleID>
<d2p1:TitleName>sample string 2</d2p1:TitleName>
</d2p1:TitleDetail>
</d2p1:TitleDetails>
<d2p1:Total>1</d2p1:Total>
</Value>
</ResultOfTitleListVHDxlVkh>