POST NivUser/Update

Request Information

URI Parameters

None.

Body Parameters

NivUsers
NameDescriptionTypeAdditional information
id

integer

None.

nivUser

string

None.

nivPass

string

None.

accType

integer

None.

device

string

None.

state

string

None.

filter

string

None.

pk

integer

None.

category

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "nivUser": "sample string 2",
  "nivPass": "sample string 3",
  "accType": 1,
  "device": "sample string 4",
  "state": "sample string 5",
  "filter": "sample string 6",
  "pk": 1,
  "category": 1
}

text/html

Sample:
{"id":1,"nivUser":"sample string 2","nivPass":"sample string 3","accType":1,"device":"sample string 4","state":"sample string 5","filter":"sample string 6","pk":1,"category":1}

application/xml, text/xml

Sample:
<NivUsers xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NivendWebApi">
  <accType>1</accType>
  <category>1</category>
  <device>sample string 4</device>
  <filter>sample string 6</filter>
  <id>1</id>
  <nivPass>sample string 3</nivPass>
  <nivUser>sample string 2</nivUser>
  <pk>1</pk>
  <state>sample string 5</state>
</NivUsers>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

MResult
NameDescriptionTypeAdditional information
Result

boolean

None.

Data

Object

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Result": true,
  "Data": {},
  "Message": "sample string 3"
}

text/html

Sample:
{"Result":true,"Data":{},"Message":"sample string 3"}

application/xml, text/xml

Sample:
<MResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NivendWebApi.Models">
  <Data />
  <Message>sample string 3</Message>
  <Result>true</Result>
</MResult>