GET api/TypeDay/One?api={api}&idpartner={idpartner}&id={id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
api

string

Required

idpartner

string

Default value is

id

string

Default value is

Body Parameters

None.

Response Information

Resource Description

oneTypeDay
NameDescriptionTypeAdditional information
data

TypeDay

None.

status

Trạng thái

string

None.

message

Thông báo

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": {
    "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",
    "intime": 1.1,
    "outtime": 1.1,
    "price": 1.1,
    "fromdate": "sample string 10",
    "todate": "sample string 11",
    "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"
  },
  "status": "sample string 1",
  "message": "sample string 2"
}

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

Sample:
/**/ typeof  === 'function' && ({"data":{"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","intime":1.1,"outtime":1.1,"price":1.1,"fromdate":"sample string 10","todate":"sample string 11","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"},"status":"sample string 1","message":"sample string 2"});

application/xml, text/xml

Sample:
<oneTypeDay xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models.Library.mg">
  <message xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models">sample string 2</message>
  <status xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models">sample string 1</status>
  <data>
    <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>
  </data>
</oneTypeDay>