POST api/Common/AddNewGroupToDailyReport

Request Information

URI Parameters

None.

Body Parameters

Collection of Automail_DailyReportView
NameDescriptionTypeAdditional information
TodaysOrder

decimal number

None.

MonthlyOrder

decimal number

None.

TodaysDispatch

decimal number

None.

MonthlyDispatch

decimal number

None.

PendingOrder

decimal number

None.

NextMonthPendingOrder

decimal number

None.

TodaysPurchase

decimal number

None.

MonthlyPurchase

decimal number

None.

MonthlyCollection

decimal number

None.

MonthlyOutstanding

decimal number

None.

UnAdjustedAmount

decimal number

None.

UnAdjustedAdvance

decimal number

None.

StockValuation

decimal number

None.

SalesReturn

decimal number

None.

BranchCode

decimal number

None.

BranchName

string

None.

GroupCode

decimal number

None.

GroupName

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "TodaysOrder": 1.0,
    "MonthlyOrder": 2.0,
    "TodaysDispatch": 3.0,
    "MonthlyDispatch": 4.0,
    "PendingOrder": 5.0,
    "NextMonthPendingOrder": 6.0,
    "TodaysPurchase": 7.0,
    "MonthlyPurchase": 8.0,
    "MonthlyCollection": 9.0,
    "MonthlyOutstanding": 10.0,
    "UnAdjustedAmount": 11.0,
    "UnAdjustedAdvance": 12.0,
    "StockValuation": 13.0,
    "SalesReturn": 14.0,
    "BranchCode": 15.0,
    "BranchName": "sample string 16",
    "GroupCode": 17.0,
    "GroupName": "sample string 18"
  },
  {
    "TodaysOrder": 1.0,
    "MonthlyOrder": 2.0,
    "TodaysDispatch": 3.0,
    "MonthlyDispatch": 4.0,
    "PendingOrder": 5.0,
    "NextMonthPendingOrder": 6.0,
    "TodaysPurchase": 7.0,
    "MonthlyPurchase": 8.0,
    "MonthlyCollection": 9.0,
    "MonthlyOutstanding": 10.0,
    "UnAdjustedAmount": 11.0,
    "UnAdjustedAdvance": 12.0,
    "StockValuation": 13.0,
    "SalesReturn": 14.0,
    "BranchCode": 15.0,
    "BranchName": "sample string 16",
    "GroupCode": 17.0,
    "GroupName": "sample string 18"
  }
]

application/xml, text/xml

Sample:
<ArrayOfAutomail_DailyReportView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models.Views">
  <Automail_DailyReportView>
    <BranchCode>15</BranchCode>
    <BranchName>sample string 16</BranchName>
    <GroupCode>17</GroupCode>
    <GroupName>sample string 18</GroupName>
    <MonthlyCollection>9</MonthlyCollection>
    <MonthlyDispatch>4</MonthlyDispatch>
    <MonthlyOrder>2</MonthlyOrder>
    <MonthlyOutstanding>10</MonthlyOutstanding>
    <MonthlyPurchase>8</MonthlyPurchase>
    <NextMonthPendingOrder>6</NextMonthPendingOrder>
    <PendingOrder>5</PendingOrder>
    <SalesReturn>14</SalesReturn>
    <StockValuation>13</StockValuation>
    <TodaysDispatch>3</TodaysDispatch>
    <TodaysOrder>1</TodaysOrder>
    <TodaysPurchase>7</TodaysPurchase>
    <UnAdjustedAdvance>12</UnAdjustedAdvance>
    <UnAdjustedAmount>11</UnAdjustedAmount>
  </Automail_DailyReportView>
  <Automail_DailyReportView>
    <BranchCode>15</BranchCode>
    <BranchName>sample string 16</BranchName>
    <GroupCode>17</GroupCode>
    <GroupName>sample string 18</GroupName>
    <MonthlyCollection>9</MonthlyCollection>
    <MonthlyDispatch>4</MonthlyDispatch>
    <MonthlyOrder>2</MonthlyOrder>
    <MonthlyOutstanding>10</MonthlyOutstanding>
    <MonthlyPurchase>8</MonthlyPurchase>
    <NextMonthPendingOrder>6</NextMonthPendingOrder>
    <PendingOrder>5</PendingOrder>
    <SalesReturn>14</SalesReturn>
    <StockValuation>13</StockValuation>
    <TodaysDispatch>3</TodaysDispatch>
    <TodaysOrder>1</TodaysOrder>
    <TodaysPurchase>7</TodaysPurchase>
    <UnAdjustedAdvance>12</UnAdjustedAdvance>
    <UnAdjustedAmount>11</UnAdjustedAmount>
  </Automail_DailyReportView>
</ArrayOfAutomail_DailyReportView>

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 'IList`1'.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>