POST api/users

Request Information

URI Parameters

None.

Body Parameters

users
NameDescriptionTypeAdditional information
id

integer

None.

name

string

None.

pass

string

None.

sandogh

boolean

None.

is_Admin

boolean

None.

line_code

integer

None.

background

Collection of byte

None.

sandogh_view

integer

None.

Acc_view

boolean

None.

ColorRow

integer

None.

IsBranch

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "name": "sample string 2",
  "pass": "sample string 3",
  "sandogh": true,
  "is_Admin": true,
  "line_code": 1,
  "background": "QEA=",
  "sandogh_view": 1,
  "Acc_view": true,
  "ColorRow": 1,
  "IsBranch": true
}

text/html

Sample:
{"id":1,"name":"sample string 2","pass":"sample string 3","sandogh":true,"is_Admin":true,"line_code":1,"background":"QEA=","sandogh_view":1,"Acc_view":true,"ColorRow":1,"IsBranch":true}

application/xml, text/xml

Sample:
<users xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TWD_WEB.Models">
  <Acc_view>true</Acc_view>
  <ColorRow>1</ColorRow>
  <IsBranch>true</IsBranch>
  <background>QEA=</background>
  <id>1</id>
  <is_Admin>true</is_Admin>
  <line_code>1</line_code>
  <name>sample string 2</name>
  <pass>sample string 3</pass>
  <sandogh>true</sandogh>
  <sandogh_view>1</sandogh_view>
</users>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

users
NameDescriptionTypeAdditional information
id

integer

None.

name

string

None.

pass

string

None.

sandogh

boolean

None.

is_Admin

boolean

None.

line_code

integer

None.

background

Collection of byte

None.

sandogh_view

integer

None.

Acc_view

boolean

None.

ColorRow

integer

None.

IsBranch

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "name": "sample string 2",
  "pass": "sample string 3",
  "sandogh": true,
  "is_Admin": true,
  "line_code": 1,
  "background": "QEA=",
  "sandogh_view": 1,
  "Acc_view": true,
  "ColorRow": 1,
  "IsBranch": true
}

text/html

Sample:
{"id":1,"name":"sample string 2","pass":"sample string 3","sandogh":true,"is_Admin":true,"line_code":1,"background":"QEA=","sandogh_view":1,"Acc_view":true,"ColorRow":1,"IsBranch":true}

application/xml, text/xml

Sample:
<users xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TWD_WEB.Models">
  <Acc_view>true</Acc_view>
  <ColorRow>1</ColorRow>
  <IsBranch>true</IsBranch>
  <background>QEA=</background>
  <id>1</id>
  <is_Admin>true</is_Admin>
  <line_code>1</line_code>
  <name>sample string 2</name>
  <pass>sample string 3</pass>
  <sandogh>true</sandogh>
  <sandogh_view>1</sandogh_view>
</users>