POST api/TypeDay?api={api}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
api | string |
Required |
Body Parameters
TypeDayAddName | Description | Type | Additional information |
---|---|---|---|
id | string |
None. |
|
idkey | string |
None. |
|
idpartner | string |
None. |
|
idbrandpartner | string |
None. |
|
idgroup | string |
None. |
|
codegroup | string |
None. |
|
namegroup | string |
None. |
|
idsubject | integer |
None. |
|
namesubject | string |
None. |
|
note | string |
None. |
|
fromdate | string |
None. |
|
todate | string |
None. |
|
intime | decimal number |
None. |
|
outtime | decimal number |
None. |
|
price | decimal number |
None. |
|
ispay | boolean |
None. |
|
isout | boolean |
None. |
|
isdefault | boolean |
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", "idpartner": "sample string 3", "idbrandpartner": "sample string 4", "idgroup": "sample string 5", "codegroup": "sample string 6", "namegroup": "sample string 7", "idsubject": 1, "namesubject": "sample string 8", "note": "sample string 9", "fromdate": "sample string 10", "todate": "sample string 11", "intime": 1.1, "outtime": 1.1, "price": 1.1, "ispay": true, "isout": true, "isdefault": true, "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:
<TypeDayAdd xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models.Library.mg"> <codecreate>sample string 18</codecreate> <codeedit>sample string 22</codeedit> <codegroup>sample string 6</codegroup> <datecreate>sample string 16</datecreate> <dateedit>sample string 20</dateedit> <fromdate>sample string 10</fromdate> <id>sample string 1</id> <idbrandpartner>sample string 4</idbrandpartner> <idcreate>sample string 17</idcreate> <idedit>sample string 21</idedit> <idgroup>sample string 5</idgroup> <idkey>sample string 2</idkey> <idpartner>sample string 3</idpartner> <idsubject>1</idsubject> <intime>1.1</intime> <isdefault>true</isdefault> <isout>true</isout> <ispay>true</ispay> <namecreate>sample string 19</namecreate> <nameedit>sample string 23</nameedit> <namegroup>sample string 7</namegroup> <namesubject>sample string 8</namesubject> <note>sample string 9</note> <notuse>true</notuse> <ordering>1</ordering> <outtime>1.1</outtime> <price>1.1</price> <todate>sample string 11</todate> </TypeDayAdd>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
DataInsertName | Description | Type | Additional 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>