POST api/Users/EditarUserMiBici

Request Information

URI Parameters

None.

Body Parameters

UserMiBici
NameDescriptionTypeAdditional information
UserId

integer

None.

UserAppId

integer

Required

FirstName

string

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.

TerceroId

integer

None.

InstalacionId

integer

None.

DocumentType

integer

None.

DocumentNumber

integer

None.

Contact

string

None.

ContactPhone

string

None.

Rh

string

None.

Address

string

None.

ImageArray

Collection of byte

None.

Password

string

None.

ImageFullPath

string

None.

FullName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "UserAppId": 2,
  "FirstName": "sample string 3",
  "LastName": "sample string 4",
  "Email": "sample string 5",
  "Telephone": "sample string 6",
  "ImagePath": "sample string 7",
  "UserTypeId": 8,
  "TerceroId": 9,
  "InstalacionId": 10,
  "DocumentType": 11,
  "DocumentNumber": 12,
  "Contact": "sample string 13",
  "ContactPhone": "sample string 14",
  "Rh": "sample string 15",
  "Address": "sample string 16",
  "ImageArray": "QEA=",
  "Password": "sample string 17",
  "ImageFullPath": "http://webservices.metropol.gov.co/simapi/ample string 7",
  "FullName": "sample string 3 sample string 4"
}

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 'System.Collections.Generic.List`1[[SIMDomain.User, SIMDomain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' 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 'System.Collections.Generic.List`1[[SIMDomain.User, SIMDomain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

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 'UserMiBici'.

Response Information

Resource Description

None.