POST Location/ChangeLocationCrop

Request Information

URI Parameters

None.

Body Parameters

ChangeLocationCropInput
NameDescriptionTypeAdditional information
locationId

globally unique identifier

None.

experimentId

globally unique identifier

None.

toCrop

integer

None.

userName

string

None.

currentUserPartnerRoleId

globally unique identifier

None.

roleId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "locationId": "1e003aa0-a026-4759-b7ae-27a39c47f371",
  "experimentId": "c3e8c519-6d54-404e-93b0-a7d4691a8a45",
  "toCrop": 3,
  "userName": "sample string 4",
  "currentUserPartnerRoleId": "cf2a439a-d3f4-4a56-9832-d788d6b2dba4",
  "roleId": 6
}

application/xml, text/xml

Sample:
<LocationController.ChangeLocationCropInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.TrialsAPIServices.Controllers">
  <currentUserPartnerRoleId>cf2a439a-d3f4-4a56-9832-d788d6b2dba4</currentUserPartnerRoleId>
  <experimentId>c3e8c519-6d54-404e-93b0-a7d4691a8a45</experimentId>
  <locationId>1e003aa0-a026-4759-b7ae-27a39c47f371</locationId>
  <roleId>6</roleId>
  <toCrop>3</toCrop>
  <userName>sample string 4</userName>
</LocationController.ChangeLocationCropInput>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

globally unique identifier

Response Formats

application/json, text/json

Sample:
"f8e3015a-f38a-4801-837d-43b967a67b5f"

application/xml, text/xml

Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">f8e3015a-f38a-4801-837d-43b967a67b5f</guid>