POST setting/schduleReport/CalculateMonthUsedCreadit

Request Information

URI Parameters

None.

Body Parameters

CalculationModel
NameDescriptionTypeAdditional information
frequency

string

None.

weekofDays

string

None.

DaysOfDelivery

string

None.

DeliveryTimeZone

string

None.

DeliveryTime

string

None.

creaditPerReport

string

None.

endDate

string

None.

Request Formats

application/json, text/json

Sample:
{
  "frequency": "sample string 1",
  "weekofDays": "sample string 2",
  "DaysOfDelivery": "sample string 3",
  "DeliveryTimeZone": "sample string 4",
  "DeliveryTime": "sample string 5",
  "creaditPerReport": "sample string 6",
  "endDate": "sample string 7"
}

text/html

Sample:
{"frequency":"sample string 1","weekofDays":"sample string 2","DaysOfDelivery":"sample string 3","DeliveryTimeZone":"sample string 4","DeliveryTime":"sample string 5","creaditPerReport":"sample string 6","endDate":"sample string 7"}

application/xml, text/xml

Sample:
<CalculationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGH.NxtGN.BO.Settings">
  <DaysOfDelivery>sample string 3</DaysOfDelivery>
  <DeliveryTime>sample string 5</DeliveryTime>
  <DeliveryTimeZone>sample string 4</DeliveryTimeZone>
  <creaditPerReport>sample string 6</creaditPerReport>
  <endDate>sample string 7</endDate>
  <frequency>sample string 1</frequency>
  <weekofDays>sample string 2</weekofDays>
</CalculationModel>

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

Response Information

Resource Description

ResponseOfString
NameDescriptionTypeAdditional information
Message

string

None.

Status

boolean

None.

Body

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "Status": true,
  "Body": "sample string 3"
}

text/html

Sample:
{"Message":"sample string 1","Status":true,"Body":"sample string 3"}

application/xml, text/xml

Sample:
<ResponseOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGH.NxtGN.BO.Common">
  <Body>sample string 3</Body>
  <Message>sample string 1</Message>
  <Status>true</Status>
</ResponseOfstring>