PUT api/v1/Metadata

Request Information

URI Parameters

None.

Body Parameters

Collection of Metadata
NameDescriptionTypeAdditional information
ID

integer

None.

Name

string

None.

Type

MetadataType

None.

SortOrder

integer

None.

Mandatory

boolean

None.

Hidden

boolean

None.

Settings

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "Name": "sample string 2",
    "Type": 10,
    "SortOrder": 3,
    "Mandatory": true,
    "Hidden": true,
    "Settings": "sample string 6"
  },
  {
    "ID": 1,
    "Name": "sample string 2",
    "Type": 10,
    "SortOrder": 3,
    "Mandatory": true,
    "Hidden": true,
    "Settings": "sample string 6"
  }
]

application/xml, text/xml

Sample:
<ArrayOfMetadata xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WorkPointEMM.API.Model">
  <Metadata>
    <Hidden>true</Hidden>
    <ID>1</ID>
    <Mandatory>true</Mandatory>
    <Name>sample string 2</Name>
    <Settings>sample string 6</Settings>
    <SortOrder>3</SortOrder>
    <Type>ShortText</Type>
  </Metadata>
  <Metadata>
    <Hidden>true</Hidden>
    <ID>1</ID>
    <Mandatory>true</Mandatory>
    <Name>sample string 2</Name>
    <Settings>sample string 6</Settings>
    <SortOrder>3</SortOrder>
    <Type>ShortText</Type>
  </Metadata>
</ArrayOfMetadata>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>