POST api/LicenceDevice/AssignFieldToLicenceDevice

Request Information

URI Parameters

None.

Body Parameters

Collection of PageAndFieldsSetting
NameDescriptionTypeAdditional information
Id

integer

None.

CompanyId

integer

None.

DeviceId

string

None.

AppPageId

integer

None.

AppFieldId

integer

None.

IsActive

boolean

None.

AppPageName

string

None.

AppFieldName

string

None.

InternalAppPageName

string

None.

InternalAppFieldName

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "CompanyId": 2,
    "DeviceId": "sample string 3",
    "AppPageId": 4,
    "AppFieldId": 5,
    "IsActive": true,
    "AppPageName": "sample string 7",
    "AppFieldName": "sample string 8",
    "InternalAppPageName": "sample string 9",
    "InternalAppFieldName": "sample string 10"
  },
  {
    "Id": 1,
    "CompanyId": 2,
    "DeviceId": "sample string 3",
    "AppPageId": 4,
    "AppFieldId": 5,
    "IsActive": true,
    "AppPageName": "sample string 7",
    "AppFieldName": "sample string 8",
    "InternalAppPageName": "sample string 9",
    "InternalAppFieldName": "sample string 10"
  }
]

application/xml, text/xml

Sample:
<ArrayOfPageAndFieldsSetting xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Domain">
  <PageAndFieldsSetting>
    <AppFieldId>5</AppFieldId>
    <AppFieldName>sample string 8</AppFieldName>
    <AppPageId>4</AppPageId>
    <AppPageName>sample string 7</AppPageName>
    <CompanyId>2</CompanyId>
    <DeviceId>sample string 3</DeviceId>
    <Id>1</Id>
    <InternalAppFieldName>sample string 10</InternalAppFieldName>
    <InternalAppPageName>sample string 9</InternalAppPageName>
    <IsActive>true</IsActive>
  </PageAndFieldsSetting>
  <PageAndFieldsSetting>
    <AppFieldId>5</AppFieldId>
    <AppFieldName>sample string 8</AppFieldName>
    <AppPageId>4</AppPageId>
    <AppPageName>sample string 7</AppPageName>
    <CompanyId>2</CompanyId>
    <DeviceId>sample string 3</DeviceId>
    <Id>1</Id>
    <InternalAppFieldName>sample string 10</InternalAppFieldName>
    <InternalAppPageName>sample string 9</InternalAppPageName>
    <IsActive>true</IsActive>
  </PageAndFieldsSetting>
</ArrayOfPageAndFieldsSetting>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.