POST api/Program/GetPurposeDetails

Request Information

URI Parameters

None.

Body Parameters

PurposeMasterVO
NameDescriptionTypeAdditional information
Purpose_id

integer

None.

Purpose_Name

string

None.

Active

string

None.

Created_Date

date

None.

Created_By

integer

None.

Modified_date

date

None.

Modified_By

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Purpose_id": 1,
  "Purpose_Name": "sample string 2",
  "Active": "sample string 3",
  "Created_Date": "2024-11-28T14:09:50.485923+05:30",
  "Created_By": 5,
  "Modified_date": "2024-11-28T14:09:50.485923+05:30",
  "Modified_By": 7
}

application/xml, text/xml

Sample:
<PurposeMasterVO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ModelLayer">
  <Active>sample string 3</Active>
  <Created_By>5</Created_By>
  <Created_Date>2024-11-28T14:09:50.485923+05:30</Created_Date>
  <Modified_By>7</Modified_By>
  <Modified_date>2024-11-28T14:09:50.485923+05:30</Modified_date>
  <Purpose_Name>sample string 2</Purpose_Name>
  <Purpose_id>1</Purpose_id>
</PurposeMasterVO>

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

Response Information

Resource Description

ResponseModel
NameDescriptionTypeAdditional information
Success

boolean

None.

Data

Object

None.

Message

string

None.

ErrorCode

integer

None.

Data1

Object

None.

Emp_ID

string

None.

On_duty_master_ID

integer

None.

ODStatus

Object

None.

ODDetails

Object

None.

UserDetails

Object

None.

ON_DUTY_PROGRAM_ID

integer

None.

settings

Object

None.

IsProgramStatus

boolean

None.

ODStartTime

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Data": {},
  "Message": "sample string 3",
  "ErrorCode": 4,
  "Data1": {},
  "Emp_ID": "sample string 6",
  "On_duty_master_ID": 7,
  "ODStatus": {},
  "ODDetails": {},
  "UserDetails": {},
  "ON_DUTY_PROGRAM_ID": 11,
  "settings": {},
  "IsProgramStatus": true,
  "ODStartTime": "sample string 14"
}

application/xml, text/xml

Sample:
<ResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ModelLayer">
  <Data />
  <Data1 />
  <Emp_ID>sample string 6</Emp_ID>
  <ErrorCode>4</ErrorCode>
  <IsProgramStatus>true</IsProgramStatus>
  <Message>sample string 3</Message>
  <ODDetails />
  <ODStartTime>sample string 14</ODStartTime>
  <ODStatus />
  <ON_DUTY_PROGRAM_ID>11</ON_DUTY_PROGRAM_ID>
  <On_duty_master_ID>7</On_duty_master_ID>
  <Success>true</Success>
  <UserDetails />
  <settings />
</ResponseModel>