GET api/IRSchedule/Get/IMPSch/GetById?id={id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

IMPSch
NameDescriptionTypeAdditional information
ImpSchBlockDetails

ImpSchBlockDetails

None.

ImpSchValue

Collection of ImpSchValue

None.

Response Formats

application/json, text/json

Sample:
{
  "ImpSchBlockDetails": {
    "Id": 1,
    "ApprovalNo": "sample string 2",
    "Type": "sample string 3",
    "Trader": "sample string 4",
    "InjectingState": "sample string 5",
    "InjectingUtility": "sample string 6",
    "DraweeState": "sample string 7",
    "DraweeUtility": "sample string 8",
    "Link": "sample string 9",
    "Path": "sample string 10",
    "ContractFromDate": "sample string 11",
    "ContractToDate": "sample string 12",
    "ForDate": "sample string 13"
  },
  "ImpSchValue": [
    {
      "Id": 1,
      "BlockDetailsId": 2,
      "BlockNo": "sample string 3",
      "ScheduledValue": "sample string 4"
    },
    {
      "Id": 1,
      "BlockDetailsId": 2,
      "BlockNo": "sample string 3",
      "ScheduledValue": "sample string 4"
    }
  ]
}

application/xml, text/xml

Sample:
<IMPSch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AMS.ERPC.API.DAL.Model.DataModel">
  <ImpSchBlockDetails>
    <ApprovalNo>sample string 2</ApprovalNo>
    <ContractFromDate>sample string 11</ContractFromDate>
    <ContractToDate>sample string 12</ContractToDate>
    <DraweeState>sample string 7</DraweeState>
    <DraweeUtility>sample string 8</DraweeUtility>
    <ForDate>sample string 13</ForDate>
    <Id>1</Id>
    <InjectingState>sample string 5</InjectingState>
    <InjectingUtility>sample string 6</InjectingUtility>
    <Link>sample string 9</Link>
    <Path>sample string 10</Path>
    <Trader>sample string 4</Trader>
    <Type>sample string 3</Type>
  </ImpSchBlockDetails>
  <ImpSchValue>
    <ImpSchValue>
      <BlockDetailsId>2</BlockDetailsId>
      <BlockNo>sample string 3</BlockNo>
      <Id>1</Id>
      <ScheduledValue>sample string 4</ScheduledValue>
    </ImpSchValue>
    <ImpSchValue>
      <BlockDetailsId>2</BlockDetailsId>
      <BlockNo>sample string 3</BlockNo>
      <Id>1</Id>
      <ScheduledValue>sample string 4</ScheduledValue>
    </ImpSchValue>
  </ImpSchValue>
</IMPSch>