POST api/cmnsy/GetProjectMaster

Request Information

URI Parameters

None.

Body Parameters

ReqProjectMaster
NameDescriptionTypeAdditional information
ApiUserName

string

None.

Token

string

None.

Procid

integer

None.

OfficeId

integer

None.

FinYearId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ApiUserName": "sample string 1",
  "Token": "sample string 2",
  "Procid": 3,
  "OfficeId": 4,
  "FinYearId": 5
}

application/xml, text/xml

Sample:
<ReqProjectMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMNSYAPI.Models">
  <ApiUserName>sample string 1</ApiUserName>
  <FinYearId>5</FinYearId>
  <OfficeId>4</OfficeId>
  <Procid>3</Procid>
  <Token>sample string 2</Token>
</ReqProjectMaster>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

RespProjectMaster
NameDescriptionTypeAdditional information
respCode

string

None.

respMessage

string

None.

Data

Collection of ProjectMaster

None.

Response Formats

application/json, text/json

Sample:
{
  "respCode": "sample string 1",
  "respMessage": "sample string 2",
  "Data": [
    {
      "ProjectId": 1,
      "ProjectName": "sample string 2",
      "ApprovedCost": 3.0,
      "ReleaseAmount": 4.0,
      "PaymentAmount": 5.0,
      "PhysicalProgress": 6.0,
      "ApprovedDate": "sample string 7",
      "ApproveCopy": "sample string 8",
      "GONo": "sample string 9",
      "OfficeName": "sample string 10",
      "DistrictName": "sample string 11",
      "FinYearId": 12,
      "FinYearText": "sample string 13"
    },
    {
      "ProjectId": 1,
      "ProjectName": "sample string 2",
      "ApprovedCost": 3.0,
      "ReleaseAmount": 4.0,
      "PaymentAmount": 5.0,
      "PhysicalProgress": 6.0,
      "ApprovedDate": "sample string 7",
      "ApproveCopy": "sample string 8",
      "GONo": "sample string 9",
      "OfficeName": "sample string 10",
      "DistrictName": "sample string 11",
      "FinYearId": 12,
      "FinYearText": "sample string 13"
    }
  ]
}

application/xml, text/xml

Sample:
<RespProjectMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMNSYAPI.Models">
  <Data>
    <ProjectMaster>
      <ApproveCopy>sample string 8</ApproveCopy>
      <ApprovedCost>3</ApprovedCost>
      <ApprovedDate>sample string 7</ApprovedDate>
      <DistrictName>sample string 11</DistrictName>
      <FinYearId>12</FinYearId>
      <FinYearText>sample string 13</FinYearText>
      <GONo>sample string 9</GONo>
      <OfficeName>sample string 10</OfficeName>
      <PaymentAmount>5</PaymentAmount>
      <PhysicalProgress>6</PhysicalProgress>
      <ProjectId>1</ProjectId>
      <ProjectName>sample string 2</ProjectName>
      <ReleaseAmount>4</ReleaseAmount>
    </ProjectMaster>
    <ProjectMaster>
      <ApproveCopy>sample string 8</ApproveCopy>
      <ApprovedCost>3</ApprovedCost>
      <ApprovedDate>sample string 7</ApprovedDate>
      <DistrictName>sample string 11</DistrictName>
      <FinYearId>12</FinYearId>
      <FinYearText>sample string 13</FinYearText>
      <GONo>sample string 9</GONo>
      <OfficeName>sample string 10</OfficeName>
      <PaymentAmount>5</PaymentAmount>
      <PhysicalProgress>6</PhysicalProgress>
      <ProjectId>1</ProjectId>
      <ProjectName>sample string 2</ProjectName>
      <ReleaseAmount>4</ReleaseAmount>
    </ProjectMaster>
  </Data>
  <respCode>sample string 1</respCode>
  <respMessage>sample string 2</respMessage>
</RespProjectMaster>