POST forms/submitAgentRequest

Request Information

URI Parameters

None.

Body Parameters

AgentRequestForm
NameDescriptionTypeAdditional information
Station

string

None.

Requester

string

None.

AirportLocation

string

None.

CompanyName

string

None.

ContactName

string

None.

ContactEmail

string

None.

ContactPhone

string

None.

Services

Collection of string

None.

Comments

string

None.

AuthRep

boolean

None.

UseEDI

boolean

None.

CopyRequester

boolean

None.

Attachments

Collection of AgentRequestFormAttachments

None.

Request Formats

application/json, text/json

Sample:
{
  "Station": "sample string 1",
  "Requester": "sample string 2",
  "AirportLocation": "sample string 3",
  "CompanyName": "sample string 4",
  "ContactName": "sample string 5",
  "ContactEmail": "sample string 6",
  "ContactPhone": "sample string 7",
  "Services": [
    "sample string 1",
    "sample string 2"
  ],
  "Comments": "sample string 8",
  "AuthRep": true,
  "UseEDI": true,
  "CopyRequester": true,
  "Attachments": [
    {
      "FileName": "sample string 1",
      "Base64URL": "sample string 2"
    },
    {
      "FileName": "sample string 1",
      "Base64URL": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<AgentRequestForm xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Station>sample string 1</Station>
  <Requester>sample string 2</Requester>
  <AirportLocation>sample string 3</AirportLocation>
  <CompanyName>sample string 4</CompanyName>
  <ContactName>sample string 5</ContactName>
  <ContactEmail>sample string 6</ContactEmail>
  <ContactPhone>sample string 7</ContactPhone>
  <Services>
    <string>sample string 1</string>
    <string>sample string 2</string>
  </Services>
  <Comments>sample string 8</Comments>
  <AuthRep>true</AuthRep>
  <UseEDI>true</UseEDI>
  <CopyRequester>true</CopyRequester>
  <Attachments>
    <AgentRequestFormAttachments>
      <FileName>sample string 1</FileName>
      <Base64URL>sample string 2</Base64URL>
    </AgentRequestFormAttachments>
    <AgentRequestFormAttachments>
      <FileName>sample string 1</FileName>
      <Base64URL>sample string 2</Base64URL>
    </AgentRequestFormAttachments>
  </Attachments>
</AgentRequestForm>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PilotWWWResult
NameDescriptionTypeAdditional information
IsError

boolean

None.

Result

boolean

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "IsError": true,
  "Result": true,
  "Message": "sample string 3"
}

application/xml, text/xml

Sample:
<PilotWWWResult xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <IsError>true</IsError>
  <Result>true</Result>
  <Message>sample string 3</Message>
</PilotWWWResult>