POST api/UpdateDynamicStratification

Request Information

URI Parameters

None.

Body Parameters

Collection of StraAdditionalModel
NameDescriptionTypeAdditional information
strno

integer

None.

studyId

integer

None.

PrName

string

None.

fromValue

string

None.

toValue

string

None.

questionId

integer

None.

answerFromId

integer

None.

answerToId

integer

None.

grpNo

integer

None.

customStrat

boolean

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "strno": 1,
    "studyId": 2,
    "PrName": "sample string 3",
    "fromValue": "sample string 4",
    "toValue": "sample string 5",
    "questionId": 6,
    "answerFromId": 7,
    "answerToId": 8,
    "grpNo": 9,
    "customStrat": true
  },
  {
    "strno": 1,
    "studyId": 2,
    "PrName": "sample string 3",
    "fromValue": "sample string 4",
    "toValue": "sample string 5",
    "questionId": 6,
    "answerFromId": 7,
    "answerToId": 8,
    "grpNo": 9,
    "customStrat": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfStraAdditionalModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ECD_SFCData.Models">
  <StraAdditionalModel>
    <PrName>sample string 3</PrName>
    <answerFromId>7</answerFromId>
    <answerToId>8</answerToId>
    <customStrat>true</customStrat>
    <fromValue>sample string 4</fromValue>
    <grpNo>9</grpNo>
    <questionId>6</questionId>
    <strno>1</strno>
    <studyId>2</studyId>
    <toValue>sample string 5</toValue>
  </StraAdditionalModel>
  <StraAdditionalModel>
    <PrName>sample string 3</PrName>
    <answerFromId>7</answerFromId>
    <answerToId>8</answerToId>
    <customStrat>true</customStrat>
    <fromValue>sample string 4</fromValue>
    <grpNo>9</grpNo>
    <questionId>6</questionId>
    <strno>1</strno>
    <studyId>2</studyId>
    <toValue>sample string 5</toValue>
  </StraAdditionalModel>
</ArrayOfStraAdditionalModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of StraAdditionalModel
NameDescriptionTypeAdditional information
strno

integer

None.

studyId

integer

None.

PrName

string

None.

fromValue

string

None.

toValue

string

None.

questionId

integer

None.

answerFromId

integer

None.

answerToId

integer

None.

grpNo

integer

None.

customStrat

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "strno": 1,
    "studyId": 2,
    "PrName": "sample string 3",
    "fromValue": "sample string 4",
    "toValue": "sample string 5",
    "questionId": 6,
    "answerFromId": 7,
    "answerToId": 8,
    "grpNo": 9,
    "customStrat": true
  },
  {
    "strno": 1,
    "studyId": 2,
    "PrName": "sample string 3",
    "fromValue": "sample string 4",
    "toValue": "sample string 5",
    "questionId": 6,
    "answerFromId": 7,
    "answerToId": 8,
    "grpNo": 9,
    "customStrat": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfStraAdditionalModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ECD_SFCData.Models">
  <StraAdditionalModel>
    <PrName>sample string 3</PrName>
    <answerFromId>7</answerFromId>
    <answerToId>8</answerToId>
    <customStrat>true</customStrat>
    <fromValue>sample string 4</fromValue>
    <grpNo>9</grpNo>
    <questionId>6</questionId>
    <strno>1</strno>
    <studyId>2</studyId>
    <toValue>sample string 5</toValue>
  </StraAdditionalModel>
  <StraAdditionalModel>
    <PrName>sample string 3</PrName>
    <answerFromId>7</answerFromId>
    <answerToId>8</answerToId>
    <customStrat>true</customStrat>
    <fromValue>sample string 4</fromValue>
    <grpNo>9</grpNo>
    <questionId>6</questionId>
    <strno>1</strno>
    <studyId>2</studyId>
    <toValue>sample string 5</toValue>
  </StraAdditionalModel>
</ArrayOfStraAdditionalModel>