POST api/Visits/SaveImageInValue?pMongoId={pMongoId}&signBy={signBy}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pMongoId

string

Required

signBy

integer

Required

Body Parameters

InstructionMongo
NameDescriptionTypeAdditional information
_id

ObjectId

None.

imageValue

string

None.

instructionId

integer

None.

signStatus

string

None.

Request Formats

application/json, text/json

Sample:
{
  "_id": "000000000000000000000000",
  "imageValue": "sample string 1",
  "instructionId": 2,
  "signStatus": "sample string 3"
}

application/xml, text/xml

Sample:
<InstructionsManage.InstructionMongo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.Visits">
  <_id xmlns:d2p1="http://schemas.datacontract.org/2004/07/MongoDB.Bson">
    <d2p1:_a>0</d2p1:_a>
    <d2p1:_b>0</d2p1:_b>
    <d2p1:_c>0</d2p1:_c>
  </_id>
  <imageValue>sample string 1</imageValue>
  <instructionId>2</instructionId>
  <signStatus>sample string 3</signStatus>
</InstructionsManage.InstructionMongo>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'InstructionMongo'.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.