POST Api/Validate/MIRN

Request Information

URI Parameters

None.

Body Parameters

ValidateMIRNParam
NameDescriptionTypeAdditional information
MIRN

string

Required

MainAddressDetail

AddressDetail

None.

Request Formats

application/json, text/json

Sample:
{
  "MIRN": "sample string 1",
  "MainAddressDetail": {
    "FullAddress": "sample string 1",
    "FlatUnitNumber": "sample string 2",
    "StreetNumber": "sample string 3",
    "StreetName": "sample string 4",
    "StreetTypeID": 1,
    "Suburb": "sample string 5",
    "StateCode": "sample string 6",
    "PostCode": "sample string 7",
    "LotNumber": "sample string 8",
    "FloorNumber": "sample string 9",
    "BuildingName": "sample string 10",
    "BoxType": "sample string 11",
    "BoxNumber": "sample string 12",
    "UnitType": "sample string 13",
    "AddressType": "sample string 14"
  }
}

application/xml, text/xml

Sample:
<ValidateMIRNParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GoSwitch.CustomerTools.Models.MIRNs">
  <MIRN>sample string 1</MIRN>
  <MainAddressDetail xmlns:d2p1="http://schemas.datacontract.org/2004/07/GoSwitch.CustomerTools.Models.NewSales.Parameters">
    <d2p1:AddressType>sample string 14</d2p1:AddressType>
    <d2p1:BoxNumber>sample string 12</d2p1:BoxNumber>
    <d2p1:BoxType>sample string 11</d2p1:BoxType>
    <d2p1:BuildingName>sample string 10</d2p1:BuildingName>
    <d2p1:FlatUnitNumber>sample string 2</d2p1:FlatUnitNumber>
    <d2p1:FloorNumber>sample string 9</d2p1:FloorNumber>
    <d2p1:FullAddress>sample string 1</d2p1:FullAddress>
    <d2p1:LotNumber>sample string 8</d2p1:LotNumber>
    <d2p1:PostCode>sample string 7</d2p1:PostCode>
    <d2p1:StateCode>sample string 6</d2p1:StateCode>
    <d2p1:StreetName>sample string 4</d2p1:StreetName>
    <d2p1:StreetNumber>sample string 3</d2p1:StreetNumber>
    <d2p1:StreetTypeID>1</d2p1:StreetTypeID>
    <d2p1:Suburb>sample string 5</d2p1:Suburb>
    <d2p1:UnitType>sample string 13</d2p1:UnitType>
  </MainAddressDetail>
</ValidateMIRNParam>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />