PUT api/UserShelters

Request Information

URI Parameters

None.

Body Parameters

Collection of UserShelter
NameDescriptionTypeAdditional information
ShelterName

string

None.

RoleName

string

None.

Exists

boolean

None.

ID

integer

None.

RoleId

integer

None.

UserName

string

None.

ShelterId

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "ShelterName": "sample string 1",
    "RoleName": "Eingi rættindi",
    "Exists": true,
    "ID": 3,
    "RoleId": 4,
    "UserName": "sample string 5",
    "ShelterId": 6
  },
  {
    "$ref": "1"
  }
]

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UserShelter[]'.

Response Information

Resource Description

Collection of UserShelter
NameDescriptionTypeAdditional information
ShelterName

string

None.

RoleName

string

None.

Exists

boolean

None.

ID

integer

None.

RoleId

integer

None.

UserName

string

None.

ShelterId

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "ShelterName": "sample string 1",
    "RoleName": "Eingi rættindi",
    "Exists": true,
    "ID": 3,
    "RoleId": 4,
    "UserName": "sample string 5",
    "ShelterId": 6
  },
  {
    "$ref": "1"
  }
]