POST Experiment/ValidateSave
Request Information
URI Parameters
None.
Body Parameters
ValidateSaveInputName | Description | Type | Additional information |
---|---|---|---|
entity | Experiment |
None. |
|
userBusinessUnits | Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{ "userBusinessUnits": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<ValidateSaveInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.TrialsAPIServices.Controllers"> <entity xmlns:d2p1="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model" i:nil="true" /> <userBusinessUnits xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </userBusinessUnits> </ValidateSaveInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ValidationReturnName | Description | Type | Additional information |
---|---|---|---|
IsValid | boolean |
None. |
|
Message | string |
None. |
|
Caption | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Message": "sample string 1", "Caption": "sample string 2" }
application/xml, text/xml
Sample:
<ValidationReturn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model.Custom"> <Caption>sample string 2</Caption> <Message>sample string 1</Message> </ValidationReturn>