POST api/Steps

Request Information

URI Parameters

None.

Body Parameters

Step
NameDescriptionTypeAdditional information
StepId

integer

None.

studyID

string

Required

ParticipantID

string

None.

NumberOfSteps

integer

None.

Date

date

None.

Request Formats

application/json, text/json

Sample:
{
  "StepId": 1,
  "studyID": "sample string 2",
  "ParticipantID": "sample string 3",
  "NumberOfSteps": 4,
  "Date": "2025-12-21T23:16:16.25591-08:00"
}

application/xml, text/xml

Sample:
<Step xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/diabetesAppService.Models">
  <Date>2025-12-21T23:16:16.25591-08:00</Date>
  <NumberOfSteps>4</NumberOfSteps>
  <ParticipantID>sample string 3</ParticipantID>
  <StepId>1</StepId>
  <studyID>sample string 2</studyID>
</Step>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Step
NameDescriptionTypeAdditional information
StepId

integer

None.

studyID

string

Required

ParticipantID

string

None.

NumberOfSteps

integer

None.

Date

date

None.

Response Formats

application/json, text/json

Sample:
{
  "StepId": 1,
  "studyID": "sample string 2",
  "ParticipantID": "sample string 3",
  "NumberOfSteps": 4,
  "Date": "2025-12-21T23:16:16.25591-08:00"
}

application/xml, text/xml

Sample:
<Step xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/diabetesAppService.Models">
  <Date>2025-12-21T23:16:16.25591-08:00</Date>
  <NumberOfSteps>4</NumberOfSteps>
  <ParticipantID>sample string 3</ParticipantID>
  <StepId>1</StepId>
  <studyID>sample string 2</studyID>
</Step>