POST api/ShrNom/author-consent-form-applicant/{applicationId}/{isPrimaryAuthor}

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
applicationId
No documentation available.

Define this parameter in the request URI.

isPrimaryAuthor
No documentation available.

Define this parameter in the request URI.

primaryAuthor
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Title": "sample string 1",
  "GivenNames": "sample string 2",
  "Surname": "sample string 3",
  "Address": "sample string 4",
  "PhoneNumber": "sample string 5",
  "MobileNumber": "sample string 6",
  "Email": "sample string 7"
}

application/xml, text/xml

Sample:
<AuthorDTO xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Title>sample string 1</Title>
  <GivenNames>sample string 2</GivenNames>
  <Surname>sample string 3</Surname>
  <Address>sample string 4</Address>
  <PhoneNumber>sample string 5</PhoneNumber>
  <MobileNumber>sample string 6</MobileNumber>
  <Email>sample string 7</Email>
</AuthorDTO>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AuthorDTO'.

Response Information

Response body formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string>sample string 1</string>