POST api/Stationery?api={api}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
api

string

Required

Body Parameters

StationeryModelAdd
NameDescriptionTypeAdditional information
id

string

None.

idkey

string

None.

cost

decimal number

None.

tax

decimal number

None.

priceimport

decimal number

None.

taximport

decimal number

None.

idpartner

string

None.

idbrandpartner

string

None.

idcate

string

None.

codecate

string

None.

namecate

string

None.

code

string

None.

name

string

None.

idunit

string

None.

nameunit

string

None.

idunitbuy

string

None.

nameunitbuy

string

None.

qtychange

decimal number

None.

idmodelservice

integer

None.

namemodelservice

string

None.

idehc

integer

None.

codeehc

string

None.

qtydefault

decimal number

None.

qty

decimal number

None.

qtyavailable

decimal number

None.

qtyhight

decimal number

None.

qtylow

decimal number

None.

ordering

integer

None.

notuse

boolean

None.

datecreate

string

None.

idcreate

string

None.

codecreate

string

None.

namecreate

string

None.

dateedit

string

None.

idedit

string

None.

codeedit

string

None.

nameedit

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "idkey": "sample string 2",
  "cost": 1.1,
  "tax": 1.1,
  "priceimport": 1.1,
  "taximport": 1.1,
  "idpartner": "sample string 3",
  "idbrandpartner": "sample string 4",
  "idcate": "sample string 5",
  "codecate": "sample string 6",
  "namecate": "sample string 7",
  "code": "sample string 8",
  "name": "sample string 9",
  "idunit": "sample string 10",
  "nameunit": "sample string 11",
  "idunitbuy": "sample string 12",
  "nameunitbuy": "sample string 13",
  "qtychange": 1.1,
  "idmodelservice": 1,
  "namemodelservice": "sample string 14",
  "idehc": 1,
  "codeehc": "sample string 15",
  "qtydefault": 1.1,
  "qty": 1.1,
  "qtyavailable": 1.1,
  "qtyhight": 1.1,
  "qtylow": 1.1,
  "ordering": 1,
  "notuse": true,
  "datecreate": "sample string 16",
  "idcreate": "sample string 17",
  "codecreate": "sample string 18",
  "namecreate": "sample string 19",
  "dateedit": "sample string 20",
  "idedit": "sample string 21",
  "codeedit": "sample string 22",
  "nameedit": "sample string 23"
}

application/xml, text/xml

Sample:
<StationeryModelAdd xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models.Category">
  <code>sample string 8</code>
  <codecate>sample string 6</codecate>
  <codecreate>sample string 18</codecreate>
  <codeedit>sample string 22</codeedit>
  <codeehc>sample string 15</codeehc>
  <cost>1.1</cost>
  <datecreate>sample string 16</datecreate>
  <dateedit>sample string 20</dateedit>
  <id>sample string 1</id>
  <idbrandpartner>sample string 4</idbrandpartner>
  <idcate>sample string 5</idcate>
  <idcreate>sample string 17</idcreate>
  <idedit>sample string 21</idedit>
  <idehc>1</idehc>
  <idkey>sample string 2</idkey>
  <idmodelservice>1</idmodelservice>
  <idpartner>sample string 3</idpartner>
  <idunit>sample string 10</idunit>
  <idunitbuy>sample string 12</idunitbuy>
  <name>sample string 9</name>
  <namecate>sample string 7</namecate>
  <namecreate>sample string 19</namecreate>
  <nameedit>sample string 23</nameedit>
  <namemodelservice>sample string 14</namemodelservice>
  <nameunit>sample string 11</nameunit>
  <nameunitbuy>sample string 13</nameunitbuy>
  <notuse>true</notuse>
  <ordering>1</ordering>
  <priceimport>1.1</priceimport>
  <qty>1.1</qty>
  <qtyavailable>1.1</qtyavailable>
  <qtychange>1.1</qtychange>
  <qtydefault>1.1</qtydefault>
  <qtyhight>1.1</qtyhight>
  <qtylow>1.1</qtylow>
  <tax>1.1</tax>
  <taximport>1.1</taximport>
</StationeryModelAdd>

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>