GET api/Users

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of User
NameDescriptionTypeAdditional information
UserId

integer

None.

FirstName

string

Required

Max length: 50

LastName

string

Required

Max length: 50

Email

string

Required

Data type: EmailAddress

Max length: 100

Telephone

string

Data type: PhoneNumber

Max length: 20

ImagePath

string

None.

UserTypeId

integer

None.

ImageArray

Collection of byte

None.

Password

string

None.

ImageFullPath

string

None.

FullName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "UserId": 1,
    "FirstName": "sample string 2",
    "LastName": "sample string 3",
    "Email": "sample string 4",
    "Telephone": "sample string 5",
    "ImagePath": "sample string 6",
    "UserTypeId": 7,
    "ImageArray": "QEA=",
    "Password": "sample string 8",
    "ImageFullPath": "http://webservices.metropol.gov.co/simapi2/ample string 6",
    "FullName": "sample string 2 sample string 3"
  },
  {
    "UserId": 1,
    "FirstName": "sample string 2",
    "LastName": "sample string 3",
    "Email": "sample string 4",
    "Telephone": "sample string 5",
    "ImagePath": "sample string 6",
    "UserTypeId": 7,
    "ImageArray": "QEA=",
    "Password": "sample string 8",
    "ImageFullPath": "http://webservices.metropol.gov.co/simapi2/ample string 6",
    "FullName": "sample string 2 sample string 3"
  }
]

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'SIMDomain.UserType' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'SIMDomain.UserType' contains cycles and cannot be serialized if reference tracking is disabled.