POST api/v1/surveys/agreement

Request Information

URI Parameters

None.

Body Parameters

CNOM_Agreement
NameDescriptionTypeAdditional information
ID

integer

None.

FirstName

string

None.

LastName

string

None.

Address

string

None.

Consent

boolean

None.

RPPS

integer

None.

Agreement

Collection of byte

None.

PanelistID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "firstName": "sample string 2",
  "lastName": "sample string 3",
  "address": "sample string 4",
  "consent": true,
  "rpps": 6,
  "agreement": "QEA=",
  "panelistID": "sample string 7"
}

text/xml

Sample:
<CNOM_Agreement xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PMSBL.Entity">
  <Address>sample string 4</Address>
  <Agreement>QEA=</Agreement>
  <Consent>true</Consent>
  <FirstName>sample string 2</FirstName>
  <ID>1</ID>
  <LastName>sample string 3</LastName>
  <PanelistID>sample string 7</PanelistID>
  <RPPS>6</RPPS>
</CNOM_Agreement>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpStatusCode

Response Formats

application/json, text/json

Sample:
100

text/xml

Sample:
<HttpStatusCode xmlns="http://schemas.datacontract.org/2004/07/System.Net">Continue</HttpStatusCode>