POST api/CRM_VNHV/AppService

Request Information

URI Parameters

None.

Body Parameters

InputVNEntity
NameDescriptionTypeAdditional information
sid

string

None.

maCoSo

string

None.

cmd

string

None.

data

Object

None.

Request Formats

application/json, text/json

Sample:
{
  "sid": "sample string 1",
  "maCoSo": "sample string 2",
  "cmd": "sample string 3",
  "data": {}
}

application/xml, text/xml

Sample:
<CRM_VNHV.InputVNEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NanoHISPublicAPI">
  <cmd>sample string 3</cmd>
  <data />
  <maCoSo>sample string 2</maCoSo>
  <sid>sample string 1</sid>
</CRM_VNHV.InputVNEntity>

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

Response Information

Resource Description

OutputNewEntity
NameDescriptionTypeAdditional information
Comment

string

None.

StatusCode

integer

None.

data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Comment": "sample string 1",
  "StatusCode": 2,
  "data": {}
}

application/xml, text/xml

Sample:
<DungChung.OutputNewEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NanoHISPublicAPI">
  <Comment>sample string 1</Comment>
  <StatusCode>2</StatusCode>
  <data />
</DungChung.OutputNewEntity>