POST api/v1/DashboardV5/Add

Request Information

URI Parameters

None.

Body Parameters

Dashboard4POSModel
NameDescriptionTypeAdditional information
Id

string

None.

TitleScreen

string

None.

ReportGDHN

Collection of ReportAvgCusEveryDayComparePreMonthModel

None.

ReportDTTB

Collection of ReportAvgAmountPerBill_ComparePreMonthModel

None.

ReportGDHN_Title

string

None.

ReportDTTB_Title

string

None.

ReportGDHN_SubTitle

string

None.

ReportDTTB_SubTitle

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "TitleScreen": "sample string 2",
  "ReportGDHN": [
    {
      "Id": "sample string 1",
      "EntityName": "sample string 2",
      "AvgCusEveryDay": 3
    },
    {
      "Id": "sample string 1",
      "EntityName": "sample string 2",
      "AvgCusEveryDay": 3
    }
  ],
  "ReportDTTB": [
    {
      "Id": "sample string 1",
      "EntityName": "sample string 2",
      "AvgAmountPerBill": 1.0
    },
    {
      "Id": "sample string 1",
      "EntityName": "sample string 2",
      "AvgAmountPerBill": 1.0
    }
  ],
  "ReportGDHN_Title": "sample string 3",
  "ReportDTTB_Title": "sample string 4",
  "ReportGDHN_SubTitle": "sample string 5",
  "ReportDTTB_SubTitle": "sample string 6"
}

application/xml, text/xml

Sample:
<Dashboard4POSModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AllianceSolidAPI.Shared.Models">
  <Id>sample string 1</Id>
  <ReportDTTB>
    <ReportAvgAmountPerBill_ComparePreMonthModel>
      <AvgAmountPerBill>1</AvgAmountPerBill>
      <EntityName>sample string 2</EntityName>
      <Id>sample string 1</Id>
    </ReportAvgAmountPerBill_ComparePreMonthModel>
    <ReportAvgAmountPerBill_ComparePreMonthModel>
      <AvgAmountPerBill>1</AvgAmountPerBill>
      <EntityName>sample string 2</EntityName>
      <Id>sample string 1</Id>
    </ReportAvgAmountPerBill_ComparePreMonthModel>
  </ReportDTTB>
  <ReportDTTB_SubTitle>sample string 6</ReportDTTB_SubTitle>
  <ReportDTTB_Title>sample string 4</ReportDTTB_Title>
  <ReportGDHN>
    <ReportAvgCusEveryDayComparePreMonthModel>
      <AvgCusEveryDay>3</AvgCusEveryDay>
      <EntityName>sample string 2</EntityName>
      <Id>sample string 1</Id>
    </ReportAvgCusEveryDayComparePreMonthModel>
    <ReportAvgCusEveryDayComparePreMonthModel>
      <AvgCusEveryDay>3</AvgCusEveryDay>
      <EntityName>sample string 2</EntityName>
      <Id>sample string 1</Id>
    </ReportAvgCusEveryDayComparePreMonthModel>
  </ReportGDHN>
  <ReportGDHN_SubTitle>sample string 5</ReportGDHN_SubTitle>
  <ReportGDHN_Title>sample string 3</ReportGDHN_Title>
  <TitleScreen>sample string 2</TitleScreen>
</Dashboard4POSModel>

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

Response Information

Resource Description

EzyResultObjectOfDashboard4POSModel
NameDescriptionTypeAdditional information
Data

Dashboard4POSModel

None.

ExtraData

Dictionary of string [key] and Object [value]

None.

StartTime

decimal number

None.

EndTime

decimal number

None.

TotalMili

decimal number

None.

StatusCode

integer

None.

Msg

string

None.

MsgShowInUI

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "Id": "sample string 1",
    "TitleScreen": "sample string 2",
    "ReportGDHN": [
      {
        "Id": "sample string 1",
        "EntityName": "sample string 2",
        "AvgCusEveryDay": 3
      },
      {
        "Id": "sample string 1",
        "EntityName": "sample string 2",
        "AvgCusEveryDay": 3
      }
    ],
    "ReportDTTB": [
      {
        "Id": "sample string 1",
        "EntityName": "sample string 2",
        "AvgAmountPerBill": 1.0
      },
      {
        "Id": "sample string 1",
        "EntityName": "sample string 2",
        "AvgAmountPerBill": 1.0
      }
    ],
    "ReportGDHN_Title": "sample string 3",
    "ReportDTTB_Title": "sample string 4",
    "ReportGDHN_SubTitle": "sample string 5",
    "ReportDTTB_SubTitle": "sample string 6"
  },
  "ExtraData": null,
  "StartTime": 1.1,
  "EndTime": 2.1,
  "TotalMili": 3.1,
  "StatusCode": 4,
  "Msg": "sample string 5",
  "MsgShowInUI": "sample string 6"
}

application/xml, text/xml

Sample:
<EzyResultObjectOfDashboard4POSModel3BwjWE5f xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.Library.Message">
  <Msg>sample string 5</Msg>
  <MsgShowInUI>sample string 6</MsgShowInUI>
  <StatusCode>4</StatusCode>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/AllianceSolidAPI.Shared.Models">
    <d2p1:Id>sample string 1</d2p1:Id>
    <d2p1:ReportDTTB>
      <d2p1:ReportAvgAmountPerBill_ComparePreMonthModel>
        <d2p1:AvgAmountPerBill>1</d2p1:AvgAmountPerBill>
        <d2p1:EntityName>sample string 2</d2p1:EntityName>
        <d2p1:Id>sample string 1</d2p1:Id>
      </d2p1:ReportAvgAmountPerBill_ComparePreMonthModel>
      <d2p1:ReportAvgAmountPerBill_ComparePreMonthModel>
        <d2p1:AvgAmountPerBill>1</d2p1:AvgAmountPerBill>
        <d2p1:EntityName>sample string 2</d2p1:EntityName>
        <d2p1:Id>sample string 1</d2p1:Id>
      </d2p1:ReportAvgAmountPerBill_ComparePreMonthModel>
    </d2p1:ReportDTTB>
    <d2p1:ReportDTTB_SubTitle>sample string 6</d2p1:ReportDTTB_SubTitle>
    <d2p1:ReportDTTB_Title>sample string 4</d2p1:ReportDTTB_Title>
    <d2p1:ReportGDHN>
      <d2p1:ReportAvgCusEveryDayComparePreMonthModel>
        <d2p1:AvgCusEveryDay>3</d2p1:AvgCusEveryDay>
        <d2p1:EntityName>sample string 2</d2p1:EntityName>
        <d2p1:Id>sample string 1</d2p1:Id>
      </d2p1:ReportAvgCusEveryDayComparePreMonthModel>
      <d2p1:ReportAvgCusEveryDayComparePreMonthModel>
        <d2p1:AvgCusEveryDay>3</d2p1:AvgCusEveryDay>
        <d2p1:EntityName>sample string 2</d2p1:EntityName>
        <d2p1:Id>sample string 1</d2p1:Id>
      </d2p1:ReportAvgCusEveryDayComparePreMonthModel>
    </d2p1:ReportGDHN>
    <d2p1:ReportGDHN_SubTitle>sample string 5</d2p1:ReportGDHN_SubTitle>
    <d2p1:ReportGDHN_Title>sample string 3</d2p1:ReportGDHN_Title>
    <d2p1:TitleScreen>sample string 2</d2p1:TitleScreen>
  </Data>
  <EndTime>2.1</EndTime>
  <ExtraData xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
  <StartTime>1.1</StartTime>
  <TotalMili>3.1</TotalMili>
</EzyResultObjectOfDashboard4POSModel3BwjWE5f>