POST api/retestrepository/SetProfessionalTarget

Request Information

URI Parameters

None.

Body Parameters

Collection of ProfessionalTargetInput
NameDescriptionTypeAdditional information
RtrId

integer

None.

RetestId

globally unique identifier

None.

ProfessionalTargetId

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "RtrId": 1,
    "RetestId": "8c5986b4-161c-487a-ba11-88f999d6e6e0",
    "ProfessionalTargetId": 1
  },
  {
    "RtrId": 1,
    "RetestId": "8c5986b4-161c-487a-ba11-88f999d6e6e0",
    "ProfessionalTargetId": 1
  }
]

text/html

Sample:
[{"RtrId":1,"RetestId":"8c5986b4-161c-487a-ba11-88f999d6e6e0","ProfessionalTargetId":1},{"RtrId":1,"RetestId":"8c5986b4-161c-487a-ba11-88f999d6e6e0","ProfessionalTargetId":1}]

application/xml, text/xml

Sample:
<ArrayOfProfessionalTargetInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <ProfessionalTargetInput>
    <ProfessionalTargetId>1</ProfessionalTargetId>
    <RetestId>8c5986b4-161c-487a-ba11-88f999d6e6e0</RetestId>
    <RtrId>1</RtrId>
  </ProfessionalTargetInput>
  <ProfessionalTargetInput>
    <ProfessionalTargetId>1</ProfessionalTargetId>
    <RetestId>8c5986b4-161c-487a-ba11-88f999d6e6e0</RetestId>
    <RtrId>1</RtrId>
  </ProfessionalTargetInput>
</ArrayOfProfessionalTargetInput>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

JsonRtnDtoOfBoolean
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": true
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":true}

application/xml, text/xml

Sample:
<JsonRtnDtoOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Data>true</Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfboolean>

text/javascript, application/javascript, application/json-p

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":true});