POST api/JankariPortalPartner/UpdateOTPPassword/{userid}/{OTP}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userid

string

Required

OTP

string

Required

Body Parameters

UserMaster
NameDescriptionTypeAdditional information
userid

string

None.

ogid

string

None.

username

string

None.

password

string

None.

fullname

string

None.

dummypass

string

None.

lastlogin

date

None.

lastloginip

string

None.

status

string

None.

userrole

string

None.

Organization

Organization

None.

UserPrograms

Collection of UserProgram

None.

UserActivities

Collection of UserActivity

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'JankariPortalPartner_Live.Models.UserMaster'. Path 'Organization.UserMasters'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'JankariPortalPartner_Live.Models.UserMaster'. Path 'Organization.UserMasters'.

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[[JankariPortalPartner_Live.Models.Office, JankariPortalPartner_Live, 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[[JankariPortalPartner_Live.Models.Office, JankariPortalPartner_Live, 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 'UserMaster'.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>