POST api/ClinicalStudies

Request Information

URI Parameters

None.

Body Parameters

ClinicalStudyViewModel
NameDescriptionTypeAdditional information
clinicalStudyId

globally unique identifier

None.

studyNumber

string

Max length: 20

description

string

Max length: 75

noCharge

boolean

None.

productId

globally unique identifier

Required

Request Formats

application/json, text/json

Sample:
{
  "clinicalStudyId": "bdc66467-16cf-4cd6-84cb-d3e73d6907bf",
  "studyNumber": "sample string 2",
  "description": "sample string 3",
  "noCharge": true,
  "productId": "c87d0eeb-9285-4e30-b817-f4f526375abb"
}

application/xml, text/xml

Sample:
<ClinicalStudyViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Portal.Api.Models">
  <clinicalStudyId>bdc66467-16cf-4cd6-84cb-d3e73d6907bf</clinicalStudyId>
  <description>sample string 3</description>
  <noCharge>true</noCharge>
  <productId>c87d0eeb-9285-4e30-b817-f4f526375abb</productId>
  <studyNumber>sample string 2</studyNumber>
</ClinicalStudyViewModel>

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 'ClinicalStudyViewModel'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.