GET api/Common/GetAgent?agentCode={agentCode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
agentCode

string

Required

Body Parameters

None.

Response Information

Resource Description

ValidateAgent
NameDescriptionTypeAdditional information
AgentCode

string

None.

AgentId

integer

None.

IsValid

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "AgentCode": "sample string 1",
  "AgentId": 2,
  "IsValid": true
}

application/xml, text/xml

Sample:
<ValidateAgent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GBG.AS.StudentWaiverPortal.API.Areas.Common.Models">
  <AgentCode>sample string 1</AgentCode>
  <AgentId>2</AgentId>
  <IsValid>true</IsValid>
</ValidateAgent>