GET api/P1ProjectSetting/Get?p1ProjectBaseId={p1ProjectBaseId}&p1SpaceId={p1SpaceId}&settingId={settingId}

Get p1 project setting by setting id

Request Information

URI Parameters

NameDescriptionTypeAdditional information
p1ProjectBaseId

integer

Required

p1SpaceId

integer

Required

settingId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Get p1 project setting by setting id

API_Data_TSetting
NameDescriptionTypeAdditional information
Success

boolean

None.

Error

ErrorInfo

None.

Data

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"
    }
  }
}

application/xml, text/xml

Sample:
<API_Data_TSetting xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Common">
  <Data>
    <SettingId>1</SettingId>
    <SettingValue>
      <IntValue>1</IntValue>
      <SettingNote>sample string 3</SettingNote>
      <SettingText>sample string 2</SettingText>
    </SettingValue>
  </Data>
  <Error>
    <ErrorCode>1</ErrorCode>
    <ErrorMessage>sample string 1</ErrorMessage>
  </Error>
  <Success>true</Success>
</API_Data_TSetting>