POST api/JankariPortalPartner/InsertUserProgram

Request Information

URI Parameters

None.

Body Parameters

UserProgram
NameDescriptionTypeAdditional information
upid

integer

None.

userid

string

None.

pgid

string

None.

role

string

None.

depid

string

None.

Program

Program

None.

RoleMaster

RoleMaster

None.

UserMaster

UserMaster

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 for property 'Program1' with type 'JankariPortalPartner_Live.Models.Program'. Path 'Program'.

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 for property 'Program1' with type 'JankariPortalPartner_Live.Models.Program'. Path 'Program'.

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 'JankariPortalPartner_Live.Models.EmployeeProgram' 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 'JankariPortalPartner_Live.Models.EmployeeProgram' 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 'UserProgram'.

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>