POST api/Sop/ApproveSop

Request Information

URI Parameters

None.

Body Parameters

Sop
NameDescriptionTypeAdditional information
RecordNo

integer

None.

FirstName

string

None.

LastName

string

None.

Location

string

None.

Educational

string

None.

CareerInterest

string

None.

AdmissionLetter

string

None.

Resume

string

None.

AdminUploadLetter

string

None.

UserReview

string

None.

ReferenceNumber

string

None.

PaymentStatusFK

integer

None.

PaymentStatus

PaymentStatus

None.

PaymentId

globally unique identifier

None.

PlanAmount

decimal number

None.

PlanAmountCurrency

string

None.

LocalAmountPaid

decimal number

None.

LocalAmountPaidCurrency

string

None.

CountryName

string

None.

NGNPlanValue

decimal number

None.

NGNAmountPaid

decimal number

None.

JsonData

string

None.

CreatedOn

date

None.

UpdatedOn

date

None.

IsDeleted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "RecordNo": 1,
  "FirstName": "sample string 2",
  "LastName": "sample string 3",
  "Location": "sample string 4",
  "Educational": "sample string 5",
  "CareerInterest": "sample string 6",
  "AdmissionLetter": "sample string 7",
  "Resume": "sample string 8",
  "AdminUploadLetter": "sample string 9",
  "UserReview": "sample string 10",
  "ReferenceNumber": "sample string 11",
  "PaymentStatusFK": 1,
  "PaymentStatus": {
    "RecordNo": 1,
    "PaymentStatusName": "sample string 2",
    "CreatedOn": "2024-12-22T23:55:09.4399525+00:00",
    "UpdatedOn": "2024-12-22T23:55:09.4399525+00:00",
    "IsDeleted": true,
    "IsIncrementedAmt": true,
    "SortOrder": 1
  },
  "PaymentId": "b26f0c99-ca22-409c-ba97-fb633b31d6c6",
  "PlanAmount": 1.0,
  "PlanAmountCurrency": "sample string 12",
  "LocalAmountPaid": 1.0,
  "LocalAmountPaidCurrency": "sample string 13",
  "CountryName": "sample string 14",
  "NGNPlanValue": 1.0,
  "NGNAmountPaid": 1.0,
  "JsonData": "sample string 15",
  "CreatedOn": "2024-12-22T23:55:09.4399525+00:00",
  "UpdatedOn": "2024-12-22T23:55:09.4399525+00:00",
  "IsDeleted": true
}

application/xml, text/xml

Sample:
<Sop xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TrishAcademy.Models">
  <AdminUploadLetter>sample string 9</AdminUploadLetter>
  <AdmissionLetter>sample string 7</AdmissionLetter>
  <CareerInterest>sample string 6</CareerInterest>
  <CountryName>sample string 14</CountryName>
  <CreatedOn>2024-12-22T23:55:09.4399525+00:00</CreatedOn>
  <Educational>sample string 5</Educational>
  <FirstName>sample string 2</FirstName>
  <IsDeleted>true</IsDeleted>
  <JsonData>sample string 15</JsonData>
  <LastName>sample string 3</LastName>
  <LocalAmountPaid>1</LocalAmountPaid>
  <LocalAmountPaidCurrency>sample string 13</LocalAmountPaidCurrency>
  <Location>sample string 4</Location>
  <NGNAmountPaid>1</NGNAmountPaid>
  <NGNPlanValue>1</NGNPlanValue>
  <PaymentId>b26f0c99-ca22-409c-ba97-fb633b31d6c6</PaymentId>
  <PaymentStatus>
    <CreatedOn>2024-12-22T23:55:09.4399525+00:00</CreatedOn>
    <IsDeleted>true</IsDeleted>
    <IsIncrementedAmt>true</IsIncrementedAmt>
    <PaymentStatusName>sample string 2</PaymentStatusName>
    <RecordNo>1</RecordNo>
    <SortOrder>1</SortOrder>
    <UpdatedOn>2024-12-22T23:55:09.4399525+00:00</UpdatedOn>
  </PaymentStatus>
  <PaymentStatusFK>1</PaymentStatusFK>
  <PlanAmount>1</PlanAmount>
  <PlanAmountCurrency>sample string 12</PlanAmountCurrency>
  <RecordNo>1</RecordNo>
  <ReferenceNumber>sample string 11</ReferenceNumber>
  <Resume>sample string 8</Resume>
  <UpdatedOn>2024-12-22T23:55:09.4399525+00:00</UpdatedOn>
  <UserReview>sample string 10</UserReview>
</Sop>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.