POST v1/reiforms/formsigned

Request Information

URI Parameters

None.

Body Parameters

REIFormsRequest
NameDescriptionTypeAdditional information
id

integer

None.

event

string

None.

Platform

string

None.

data

RequestData

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "event": "sample string 2",
  "Platform": "sample string 3",
  "data": {
    "form": {
      "id": 1,
      "user_id": 2,
      "agency_id": 3,
      "template_version_id": 4,
      "Name": "sample string 5",
      "Finalised": true,
      "Created": 7,
      "Updated": 8,
      "Template": {
        "ID": 1,
        "Code": "sample string 2",
        "Name": "sample string 3",
        "Orientation": "sample string 4"
      },
      "Values": {
        "sample string 1": "sample string 2",
        "sample string 3": "sample string 4"
      }
    },
    "user": {
      "ID": 1,
      "agency_id": 2,
      "given_name": "sample string 3",
      "Surname": "sample string 4",
      "Email": "sample string 5",
      "Principal": true
    }
  }
}

application/xml, text/xml

Sample:
<REIFormsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRE.API.Models.REIForms">
  <EventType>sample string 2</EventType>
  <Platform>sample string 3</Platform>
  <RequestData>
    <FormInfo>
      <AgencyID>3</AgencyID>
      <Created>7</Created>
      <Finalised>true</Finalised>
      <FormID>1</FormID>
      <Name>sample string 5</Name>
      <Template>
        <Code>sample string 2</Code>
        <ID>1</ID>
        <Name>sample string 3</Name>
        <Orientation>sample string 4</Orientation>
      </Template>
      <TemplateVersionID>4</TemplateVersionID>
      <Updated>8</Updated>
      <UserID>2</UserID>
      <Values xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfstringstring>
          <d4p1:Key>sample string 1</d4p1:Key>
          <d4p1:Value>sample string 2</d4p1:Value>
        </d4p1:KeyValueOfstringstring>
        <d4p1:KeyValueOfstringstring>
          <d4p1:Key>sample string 3</d4p1:Key>
          <d4p1:Value>sample string 4</d4p1:Value>
        </d4p1:KeyValueOfstringstring>
      </Values>
    </FormInfo>
    <UserInfo>
      <AgencyID>2</AgencyID>
      <Email>sample string 5</Email>
      <GivenName>sample string 3</GivenName>
      <ID>1</ID>
      <Principal>true</Principal>
      <Surname>sample string 4</Surname>
    </UserInfo>
  </RequestData>
  <WebhookEventID>1</WebhookEventID>
</REIFormsRequest>

multipart/form-data

Sample:
<REIFormsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRE.API.Models.REIForms"><EventType>sample string 2</EventType><Platform>sample string 3</Platform><RequestData><FormInfo><AgencyID>3</AgencyID><Created>7</Created><Finalised>true</Finalised><FormID>1</FormID><Name>sample string 5</Name><Template><Code>sample string 2</Code><ID>1</ID><Name>sample string 3</Name><Orientation>sample string 4</Orientation></Template><TemplateVersionID>4</TemplateVersionID><Updated>8</Updated><UserID>2</UserID><Values xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"><d4p1:KeyValueOfstringstring><d4p1:Key>sample string 1</d4p1:Key><d4p1:Value>sample string 2</d4p1:Value></d4p1:KeyValueOfstringstring><d4p1:KeyValueOfstringstring><d4p1:Key>sample string 3</d4p1:Key><d4p1:Value>sample string 4</d4p1:Value></d4p1:KeyValueOfstringstring></Values></FormInfo><UserInfo><AgencyID>2</AgencyID><Email>sample string 5</Email><GivenName>sample string 3</GivenName><ID>1</ID><Principal>true</Principal><Surname>sample string 4</Surname></UserInfo></RequestData><WebhookEventID>1</WebhookEventID></REIFormsRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, multipart/form-data

Sample:

Sample not available.