POST api/ViewInfo/PostViewInfo

Request Information

URI Parameters

None.

Body Parameters

ViewInfo
NameDescriptionTypeAdditional information
ViewInfoId

integer

None.

ViewInfoLocation

string

None.

ViewInfoText

string

None.

ObjectState

ObjectState

None.

Request Formats

application/json, text/json

Sample:
{
  "viewInfoId": 1,
  "viewInfoLocation": "sample string 2",
  "viewInfoText": "sample string 3",
  "objectState": 0
}

application/xml, text/xml

Sample:
<ViewInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gruo.Core.Models">
  <ObjectState xmlns="http://schemas.datacontract.org/2004/07/Gruo.Core.Repository">Unchanged</ObjectState>
  <ViewInfoId>1</ViewInfoId>
  <ViewInfoLocation>sample string 2</ViewInfoLocation>
  <ViewInfoText>sample string 3</ViewInfoText>
</ViewInfo>

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>