POST api/TemplateResult?api={api}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
api

string

Required

Body Parameters

TemplateResultModelAdd
NameDescriptionTypeAdditional information
id

string

None.

idkey

id

string

None.

idmodelservice

id model dịch vụ

integer

None.

namemodelservice

tên model dịch vụ

string

None.

idpartner

id đối tác

string

None.

idbrandpartner

id chi nhánh

string

None.

name

tên

string

None.

note

Mô tả

string

None.

denghi

Đề nghị

string

None.

ketluan

Kết luận

string

None.

notuse

Không sử dụng true/false

boolean

None.

datecreate

integer

None.

idcreate

string

None.

codecreate

string

None.

namecreate

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "idkey": "sample string 2",
  "idmodelservice": 1,
  "namemodelservice": "sample string 3",
  "idpartner": "sample string 4",
  "idbrandpartner": "sample string 5",
  "name": "sample string 6",
  "note": "sample string 7",
  "denghi": "sample string 8",
  "ketluan": "sample string 9",
  "notuse": true,
  "datecreate": 10,
  "idcreate": "sample string 11",
  "codecreate": "sample string 12",
  "namecreate": "sample string 13"
}

application/xml, text/xml

Sample:
<TemplateResultModelAdd xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models.Medical">
  <codecreate>sample string 12</codecreate>
  <datecreate>10</datecreate>
  <denghi>sample string 8</denghi>
  <id>sample string 1</id>
  <idbrandpartner>sample string 5</idbrandpartner>
  <idcreate>sample string 11</idcreate>
  <idkey>sample string 2</idkey>
  <idmodelservice>1</idmodelservice>
  <idpartner>sample string 4</idpartner>
  <ketluan>sample string 9</ketluan>
  <name>sample string 6</name>
  <namecreate>sample string 13</namecreate>
  <namemodelservice>sample string 3</namemodelservice>
  <note>sample string 7</note>
  <notuse>true</notuse>
</TemplateResultModelAdd>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

DataInsert
NameDescriptionTypeAdditional information
status

string

None.

message

string

None.

id

string

None.

code

string

None.

code1

string

None.

strprint

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status": "sample string 1",
  "message": "sample string 2",
  "id": "sample string 3",
  "code": "sample string 4",
  "code1": "sample string 5",
  "strprint": "sample string 6"
}

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

Sample:
/**/ typeof  === 'function' && ({"status":"sample string 1","message":"sample string 2","id":"sample string 3","code":"sample string 4","code1":"sample string 5","strprint":"sample string 6"});

application/xml, text/xml

Sample:
<DataInsert xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models">
  <code>sample string 4</code>
  <code1>sample string 5</code1>
  <id>sample string 3</id>
  <message>sample string 2</message>
  <status>sample string 1</status>
  <strprint>sample string 6</strprint>
</DataInsert>