GET api/utils/legalstatuscodes Authentication required

Use this method to fetch all the LegalStatusCodes available. This will return the codes and their label

Request

No URI or Body Parameter required

Response

Returns all the ImportExportAgentCodes

Output : array of objects (See Model)

Ouput Sample

  • application/json, text/json :
  • [ { "code": 1, "label": "sample string 2" }, { "code": 1, "label": "sample string 2" } ]
  • application/xml, text/xml :
  • <ArrayOfLegalStatusCode xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Kapitol.Registered.Model"> <LegalStatusCode> <Code>1</Code> <Label>sample string 2</Label> </LegalStatusCode> <LegalStatusCode> <Code>1</Code> <Label>sample string 2</Label> </LegalStatusCode> </ArrayOfLegalStatusCode>