GET api/Project/GetFamilyAccountTypes?projectID={projectID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| projectID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
API_Data_DictionaryOfInt32AndListOfNameIdPair| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Error | ErrorInfo |
None. |
|
| Data | Dictionary of integer [key] and Collection of NameIdPair [value] |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Error": {
"ErrorCode": 1,
"ErrorMessage": "sample string 1"
},
"Data": {
"1": [
{
"Id": 1,
"Name": "sample string 2"
},
{
"Id": 1,
"Name": "sample string 2"
}
],
"2": [
{
"Id": 1,
"Name": "sample string 2"
},
{
"Id": 1,
"Name": "sample string 2"
}
]
}
}
application/xml, text/xml
Sample:
<API_Data_ArrayOfKeyValueOfintArrayOfNameIdPair79auj4lf xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Common">
<Data xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfintArrayOfNameIdPair79auj4lf>
<d2p1:Key>1</d2p1:Key>
<d2p1:Value>
<NameIdPair>
<Id>1</Id>
<Name>sample string 2</Name>
</NameIdPair>
<NameIdPair>
<Id>1</Id>
<Name>sample string 2</Name>
</NameIdPair>
</d2p1:Value>
</d2p1:KeyValueOfintArrayOfNameIdPair79auj4lf>
<d2p1:KeyValueOfintArrayOfNameIdPair79auj4lf>
<d2p1:Key>2</d2p1:Key>
<d2p1:Value>
<NameIdPair>
<Id>1</Id>
<Name>sample string 2</Name>
</NameIdPair>
<NameIdPair>
<Id>1</Id>
<Name>sample string 2</Name>
</NameIdPair>
</d2p1:Value>
</d2p1:KeyValueOfintArrayOfNameIdPair79auj4lf>
</Data>
<Error>
<ErrorCode>1</ErrorCode>
<ErrorMessage>sample string 1</ErrorMessage>
</Error>
<Success>true</Success>
</API_Data_ArrayOfKeyValueOfintArrayOfNameIdPair79auj4lf>