POST api/TablesManagement/SaveImageInValue?pMongoId={pMongoId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pMongoId

string

Required

Body Parameters

EmployeeSignatureMongo
NameDescriptionTypeAdditional information
_id

ObjectId

None.

imageValue

string

None.

employeeId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "_id": "000000000000000000000000",
  "imageValue": "sample string 1",
  "employeeId": 2
}

application/xml, text/xml

Sample:
<EmployeeAddData.EmployeeSignatureMongo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.TablesManagement">
  <_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>
  <employeeId>2</employeeId>
  <imageValue>sample string 1</imageValue>
</EmployeeAddData.EmployeeSignatureMongo>

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 'EmployeeSignatureMongo'.

application/bson

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

Response Information

Resource Description

EmployeeSignatureMongo
NameDescriptionTypeAdditional information
_id

ObjectId

None.

imageValue

string

None.

employeeId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "_id": "000000000000000000000000",
  "imageValue": "sample string 1",
  "employeeId": 2
}

application/xml, text/xml

Sample:
<EmployeeAddData.EmployeeSignatureMongo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.TablesManagement">
  <_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>
  <employeeId>2</employeeId>
  <imageValue>sample string 1</imageValue>
</EmployeeAddData.EmployeeSignatureMongo>

application/bson

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