POST api/cmnsy/GetFinancialYear

Request Information

URI Parameters

None.

Body Parameters

ReqFinancialMaster
NameDescriptionTypeAdditional information
ApiUserName

string

None.

Token

string

None.

Procid

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ApiUserName": "sample string 1",
  "Token": "sample string 2",
  "Procid": 3
}

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

RespFinancialMaster
NameDescriptionTypeAdditional information
respCode

string

None.

respMessage

string

None.

Data

Collection of YearMaster

None.

Response Formats

application/json, text/json

Sample:
{
  "respCode": "sample string 1",
  "respMessage": "sample string 2",
  "Data": [
    {
      "YearId": 1,
      "YearText": "sample string 2"
    },
    {
      "YearId": 1,
      "YearText": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<RespFinancialMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMNSYAPI.Models">
  <Data>
    <YearMaster>
      <YearId>1</YearId>
      <YearText>sample string 2</YearText>
    </YearMaster>
    <YearMaster>
      <YearId>1</YearId>
      <YearText>sample string 2</YearText>
    </YearMaster>
  </Data>
  <respCode>sample string 1</respCode>
  <respMessage>sample string 2</respMessage>
</RespFinancialMaster>