POST api/P1ProjectSetting/BatchGet
Batch get p1 project settings by setting id
Request Information
URI Parameters
None.
Body Parameters
P1ProjectSettingBatchGetBinderName | Description | Type | Additional information |
---|---|---|---|
ProjectId | integer |
None. |
|
SpaceId | integer |
None. |
|
SettingIds | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "ProjectId": 1, "SpaceId": 2, "SettingIds": [ 1, 2 ] }
application/xml, text/xml
Sample:
<P1ProjectSettingBatchGetBinder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.ProjectOne"> <ProjectId>1</ProjectId> <SettingIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </SettingIds> <SpaceId>2</SpaceId> </P1ProjectSettingBatchGetBinder>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Batch get p1 project settings by setting id
API_Data_IEnumerableOfTSettingName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
Error | ErrorInfo |
None. |
|
Data | Collection of TSetting |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Error": { "ErrorCode": 1, "ErrorMessage": "sample string 1" }, "Data": [ { "SettingId": 1, "SettingValue": { "IntValue": 1, "SettingText": "sample string 2", "SettingNote": "sample string 3" } }, { "SettingId": 1, "SettingValue": { "IntValue": 1, "SettingText": "sample string 2", "SettingNote": "sample string 3" } } ] }
application/xml, text/xml
Sample:
<API_Data_ArrayOfTSetting xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Common"> <Data> <TSetting> <SettingId>1</SettingId> <SettingValue> <IntValue>1</IntValue> <SettingNote>sample string 3</SettingNote> <SettingText>sample string 2</SettingText> </SettingValue> </TSetting> <TSetting> <SettingId>1</SettingId> <SettingValue> <IntValue>1</IntValue> <SettingNote>sample string 3</SettingNote> <SettingText>sample string 2</SettingText> </SettingValue> </TSetting> </Data> <Error> <ErrorCode>1</ErrorCode> <ErrorMessage>sample string 1</ErrorMessage> </Error> <Success>true</Success> </API_Data_ArrayOfTSetting>