POST api/v1/CheckList/SetImageChecklist/{appointmentId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
appointmentId

integer

Required

Body Parameters

AnswerImage
NameDescriptionTypeAdditional information
Base64Image

string

None.

QuestionId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "base64Image": "sample string 1",
  "questionId": "af9aa63b-9bcd-4743-a10f-8f32f1c99712"
}

text/plain

Sample:
{"base64Image":"sample string 1","questionId":"af9aa63b-9bcd-4743-a10f-8f32f1c99712"}

application/xml, text/xml

Sample:
<AnswerImage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServicePlatform.BL.Models.CheckList">
  <Base64Image>sample string 1</Base64Image>
  <QuestionId>af9aa63b-9bcd-4743-a10f-8f32f1c99712</QuestionId>
</AnswerImage>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/octet-stream

Sample:
{"Base64Image":"sample string 1","QuestionId":"af9aa63b-9bcd-4743-a10f-8f32f1c99712"}

Response Information

Resource Description

OperationResult
NameDescriptionTypeAdditional information
Success

boolean

None.

ReturnData

Object

None.

Exception

Exception

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "returnData": {},
  "exception": {
    "ClassName": "System.Exception",
    "Message": null,
    "Data": null,
    "InnerException": null,
    "HelpURL": "sample string 1",
    "StackTraceString": null,
    "RemoteStackTraceString": null,
    "RemoteStackIndex": 0,
    "ExceptionMethod": null,
    "HResult": 3,
    "Source": "sample string 2",
    "WatsonBuckets": null
  }
}

text/plain

Sample:
{"success":true,"returnData":{},"exception":{"ClassName":"System.Exception","Message":null,"Data":null,"InnerException":null,"HelpURL":"sample string 1","StackTraceString":null,"RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":3,"Source":"sample string 2","WatsonBuckets":null}}

application/xml, text/xml

Sample:
<OperationResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServicePlatform.BL.Models.CheckList">
  <Exception xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <ClassName xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">System.Exception</ClassName>
    <Message i:nil="true" xmlns="" />
    <Data i:nil="true" xmlns="" />
    <InnerException i:nil="true" xmlns="" />
    <HelpURL xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 1</HelpURL>
    <StackTraceString i:nil="true" xmlns="" />
    <RemoteStackTraceString i:nil="true" xmlns="" />
    <RemoteStackIndex xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">0</RemoteStackIndex>
    <ExceptionMethod i:nil="true" xmlns="" />
    <HResult xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">3</HResult>
    <Source xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 2</Source>
    <WatsonBuckets i:nil="true" xmlns="" />
  </Exception>
  <ReturnData />
  <Success>true</Success>
</OperationResult>

application/octet-stream

Sample:
{"Success":true,"ReturnData":{},"Exception":{"ClassName":"System.Exception","Message":null,"Data":null,"InnerException":null,"HelpURL":"sample string 1","StackTraceString":null,"RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":3,"Source":"sample string 2","WatsonBuckets":null}}

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

Sample:
({"success":true,"returnData":{},"exception":{"ClassName":"System.Exception","Message":null,"Data":null,"InnerException":null,"HelpURL":"sample string 1","StackTraceString":null,"RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":3,"Source":"sample string 2","WatsonBuckets":null}});