POST api/Inspectors

Request Information

URI Parameters

None.

Body Parameters

Inspectors
NameDescriptionTypeAdditional information
id

string

Required

String length: inclusive between 0 and 100

password

string

String length: inclusive between 0 and 100

name

string

String length: inclusive between 0 and 50

phone

string

String length: inclusive between 0 and 20

address

string

String length: inclusive between 0 and 100

tokenWeb

string

String length: inclusive between 0 and 100

tokenApp

string

String length: inclusive between 0 and 100

authEnable

byte

None.

authKey

string

String length: inclusive between 0 and 100

factorMode

string

String length: inclusive between 0 and 200

city

string

String length: inclusive between 0 and 50

zipCode

string

String length: inclusive between 0 and 50

country

string

String length: inclusive between 0 and 50

state

string

String length: inclusive between 0 and 50

lastName

string

String length: inclusive between 0 and 50

companyName

string

String length: inclusive between 0 and 100

companyLogoUrl

string

String length: inclusive between 0 and 200

level

byte

None.

license

string

String length: inclusive between 0 and 40

Request Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "password": "sample string 2",
  "name": "sample string 3",
  "phone": "sample string 4",
  "address": "sample string 5",
  "tokenWeb": "sample string 6",
  "tokenApp": "sample string 7",
  "authEnable": 64,
  "authKey": "sample string 8",
  "factorMode": "sample string 9",
  "city": "sample string 10",
  "zipCode": "sample string 11",
  "country": "sample string 12",
  "state": "sample string 13",
  "lastName": "sample string 14",
  "companyName": "sample string 15",
  "companyLogoUrl": "sample string 16",
  "level": 64,
  "license": "sample string 17"
}

application/xml, text/xml

Sample:
<Inspectors xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RMnS_Pro_API.Models">
  <address>sample string 5</address>
  <authEnable>64</authEnable>
  <authKey>sample string 8</authKey>
  <city>sample string 10</city>
  <companyLogoUrl>sample string 16</companyLogoUrl>
  <companyName>sample string 15</companyName>
  <country>sample string 12</country>
  <factorMode>sample string 9</factorMode>
  <id>sample string 1</id>
  <lastName>sample string 14</lastName>
  <level>64</level>
  <license>sample string 17</license>
  <name>sample string 3</name>
  <password>sample string 2</password>
  <phone>sample string 4</phone>
  <state>sample string 13</state>
  <tokenApp>sample string 7</tokenApp>
  <tokenWeb>sample string 6</tokenWeb>
  <zipCode>sample string 11</zipCode>
</Inspectors>

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

Sample:

Sample not available.