© 2024 Clarivate
GET /api/.../nametitles/{id}
Return a single name title id.
Name | Type | Required | Description |
---|---|---|---|
id | Integer | Yes | The unique id assigned to the name title. Used to return a single object. |
{
"NameTitleID":1,
"Description":"Mr."
}
Code | Description |
---|---|
200 | OK. Success |
GET /api/.../nametitles
Return a list of all name titles in the system.
GET /api/.../nametitles?includeEmptyObject=true
Return a list of name titles. Include the '(none)' entry for a user listbox or combobox.
Name | Type | Required | Description |
---|---|---|---|
includeEmptyObject | Boolean | No | Set to 'true' to return an empty object with NameTitleID set to '0' and Description set to '(none)'. This may be used when populating a listbox for a user selection. |
[
{
"NameTitleID":0,
"Description":"(none)"
},
{
"NameTitleID":1,
"Description":"Mr."
},
{
"NameTitleID":2,
"Description":"Miss"
},
{
"NameTitleID":3,
"Description":"Mrs."
},
{
"NameTitleID":4,
"Description":"Ms."
},
{
"NameTitleID":5,
"Description":"Dr."
}
]
Code | Description |
---|---|
200 | OK. Success |