POST api/Ereport?project={project}&model={model}&db={db}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
project

string

Required

model

string

Required

db

string

Required

Body Parameters

Collection of ReporterAnswer
NameDescriptionTypeAdditional information
id

integer

None.

reportId

integer

None.

checkValue

string

None.

check

boolean

None.

completedOn

integer

None.

completedBy

string

None.

itemNo

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "reportId": 2,
    "checkValue": "sample string 3",
    "check": true,
    "completedOn": 5,
    "completedBy": "sample string 6",
    "itemNo": "sample string 7"
  },
  {
    "id": 1,
    "reportId": 2,
    "checkValue": "sample string 3",
    "check": true,
    "completedOn": 5,
    "completedBy": "sample string 6",
    "itemNo": "sample string 7"
  }
]

text/xml

Sample:
<ArrayOfReporterAnswer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication1.Models.EReport">
  <ReporterAnswer>
    <check>true</check>
    <checkValue>sample string 3</checkValue>
    <completedBy>sample string 6</completedBy>
    <completedOn>5</completedOn>
    <id>1</id>
    <itemNo>sample string 7</itemNo>
    <reportId>2</reportId>
  </ReporterAnswer>
  <ReporterAnswer>
    <check>true</check>
    <checkValue>sample string 3</checkValue>
    <completedBy>sample string 6</completedBy>
    <completedOn>5</completedOn>
    <id>1</id>
    <itemNo>sample string 7</itemNo>
    <reportId>2</reportId>
  </ReporterAnswer>
</ArrayOfReporterAnswer>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>