POST api/clinicians/acceptAgreement

Request Information

URI Parameters

None.

Body Parameters

ClinicianAcceptAgreementRequest
NameDescriptionTypeAdditional information
AgreementId

integer

Required

NameSigned

string

Required

Request Formats

application/json, text/json

Sample:
{
  "AgreementId": 1,
  "NameSigned": "sample string 2"
}

application/xml, text/xml

Sample:
<ClinicianAcceptAgreementRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DoseSpot.UI.API.DataContracts._13">
  <AgreementId>1</AgreementId>
  <NameSigned>sample string 2</NameSigned>
</ClinicianAcceptAgreementRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ClinicianAcceptAgreementResponse
NameDescriptionTypeAdditional information
AgreementId

integer

None.

NameSigned

string

None.

Result

Result

None.

Response Formats

application/json, text/json

Sample:
{
  "AgreementId": 1,
  "NameSigned": "sample string 2",
  "Result": {
    "ResultCode": "sample string 1",
    "ResultDescription": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<ClinicianAcceptAgreementResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DoseSpot.UI.API.DataContracts._13">
  <Result>
    <ResultCode>sample string 1</ResultCode>
    <ResultDescription>sample string 2</ResultDescription>
  </Result>
  <AgreementId>1</AgreementId>
  <NameSigned>sample string 2</NameSigned>
</ClinicianAcceptAgreementResponse>