POST api/LagosCollections/GetRevenueCodeList

Request Information

URI Parameters

None.

Body Parameters

RevCodeListParam
NameDescriptionTypeAdditional information
AgencyCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AgencyCode": "sample string 1"
}

application/xml, text/xml

Sample:
<RevCodeListParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CorporateAPI.RequestObjs">
  <AgencyCode>sample string 1</AgencyCode>
</RevCodeListParam>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

RevenueCodeListData
NameDescriptionTypeAdditional information
Responsecode

string

None.

ResponseDescription

string

None.

RevenueCodeList

Collection of RevenueCodeList

None.

Response Formats

application/json, text/json

Sample:
{
  "Responsecode": "sample string 1",
  "ResponseDescription": "sample string 2",
  "RevenueCodeList": [
    {
      "agencyHead": "sample string 1",
      "revCode": "sample string 2",
      "revName": "sample string 3",
      "orcRev": "sample string 4",
      "agencyOrcRevName": "sample string 5"
    },
    {
      "agencyHead": "sample string 1",
      "revCode": "sample string 2",
      "revName": "sample string 3",
      "orcRev": "sample string 4",
      "agencyOrcRevName": "sample string 5"
    }
  ]
}

application/xml, text/xml

Sample:
<RevenueCodeListData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CorporateAPI.ResponseObjs">
  <ResponseDescription>sample string 2</ResponseDescription>
  <Responsecode>sample string 1</Responsecode>
  <RevenueCodeList>
    <RevenueCodeList>
      <agencyHead>sample string 1</agencyHead>
      <agencyOrcRevName>sample string 5</agencyOrcRevName>
      <orcRev>sample string 4</orcRev>
      <revCode>sample string 2</revCode>
      <revName>sample string 3</revName>
    </RevenueCodeList>
    <RevenueCodeList>
      <agencyHead>sample string 1</agencyHead>
      <agencyOrcRevName>sample string 5</agencyOrcRevName>
      <orcRev>sample string 4</orcRev>
      <revCode>sample string 2</revCode>
      <revName>sample string 3</revName>
    </RevenueCodeList>
  </RevenueCodeList>
</RevenueCodeListData>