PUT api/Celpip

Request Information

URI Parameters

None.

Body Parameters

Celpip
NameDescriptionTypeAdditional information
RecordNo

integer

None.

TitleFK

integer

None.

Title

Title

None.

FirstName

string

None.

MiddleName

string

None.

Surname

string

None.

PhoneNumber

string

None.

EmailAddress

string

None.

Address

string

None.

Gender

string

None.

DateOfBirth

date

None.

FirstLanguage

string

None.

CelpipTestTypeFK

integer

None.

CelpipTestType

DropdownDetail

None.

TestDate

date

None.

ReferenceNumber

string

None.

PaymentStatusFK

integer

None.

PaymentStatus

PaymentStatus

None.

CelpipUserName

string

None.

CelpipPassword

string

None.

JsonData

string

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.

CreatedOn

date

None.

UpdatedOn

date

None.

IsDeleted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "RecordNo": 1,
  "TitleFK": 1,
  "Title": {
    "RecordNo": 1,
    "TitleName": "sample string 2",
    "CreatedOn": "2024-12-22T05:39:34.001144+00:00",
    "UpdatedOn": "2024-12-22T05:39:34.001144+00:00",
    "IsDeleted": true
  },
  "FirstName": "sample string 2",
  "MiddleName": "sample string 3",
  "Surname": "sample string 4",
  "PhoneNumber": "sample string 5",
  "EmailAddress": "sample string 6",
  "Address": "sample string 7",
  "Gender": "sample string 8",
  "DateOfBirth": "2024-12-22T05:39:34.001144+00:00",
  "FirstLanguage": "sample string 9",
  "CelpipTestTypeFK": 1,
  "CelpipTestType": {
    "RecordNo": 1,
    "DropdownFK": 2,
    "Dropdown": {
      "RecordNo": 1,
      "Name": "sample string 2",
      "CreatedOn": "2024-12-22T05:39:34.001144+00:00",
      "UpdatedOn": "2024-12-22T05:39:34.001144+00:00",
      "IsDeleted": true
    },
    "DropdownOption": "sample string 3",
    "IsActive": true,
    "CreatedOn": "2024-12-22T05:39:34.001144+00:00",
    "UpdatedOn": "2024-12-22T05:39:34.001144+00:00",
    "IsDeleted": true
  },
  "TestDate": "2024-12-22T05:39:34.001144+00:00",
  "ReferenceNumber": "sample string 11",
  "PaymentStatusFK": 1,
  "PaymentStatus": {
    "RecordNo": 1,
    "PaymentStatusName": "sample string 2",
    "CreatedOn": "2024-12-22T05:39:34.001144+00:00",
    "UpdatedOn": "2024-12-22T05:39:34.001144+00:00",
    "IsDeleted": true,
    "IsIncrementedAmt": true,
    "SortOrder": 1
  },
  "CelpipUserName": "sample string 12",
  "CelpipPassword": "sample string 13",
  "JsonData": "sample string 14",
  "PaymentId": "b5af268d-bee5-4fee-85b7-50835b335009",
  "PlanAmount": 1.0,
  "PlanAmountCurrency": "sample string 15",
  "LocalAmountPaid": 1.0,
  "LocalAmountPaidCurrency": "sample string 16",
  "CountryName": "sample string 17",
  "NGNPlanValue": 1.0,
  "NGNAmountPaid": 1.0,
  "CreatedOn": "2024-12-22T05:39:34.001144+00:00",
  "UpdatedOn": "2024-12-22T05:39:34.001144+00:00",
  "IsDeleted": true
}

application/xml, text/xml

Sample:
<Celpip xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TrishAcademy.Models">
  <Address>sample string 7</Address>
  <CelpipPassword>sample string 13</CelpipPassword>
  <CelpipTestType>
    <CreatedOn>2024-12-22T05:39:34.001144+00:00</CreatedOn>
    <Dropdown>
      <CreatedOn>2024-12-22T05:39:34.001144+00:00</CreatedOn>
      <IsDeleted>true</IsDeleted>
      <Name>sample string 2</Name>
      <RecordNo>1</RecordNo>
      <UpdatedOn>2024-12-22T05:39:34.001144+00:00</UpdatedOn>
    </Dropdown>
    <DropdownFK>2</DropdownFK>
    <DropdownOption>sample string 3</DropdownOption>
    <IsActive>true</IsActive>
    <IsDeleted>true</IsDeleted>
    <RecordNo>1</RecordNo>
    <UpdatedOn>2024-12-22T05:39:34.001144+00:00</UpdatedOn>
  </CelpipTestType>
  <CelpipTestTypeFK>1</CelpipTestTypeFK>
  <CelpipUserName>sample string 12</CelpipUserName>
  <CountryName>sample string 17</CountryName>
  <CreatedOn>2024-12-22T05:39:34.001144+00:00</CreatedOn>
  <DateOfBirth>2024-12-22T05:39:34.001144+00:00</DateOfBirth>
  <EmailAddress>sample string 6</EmailAddress>
  <FirstLanguage>sample string 9</FirstLanguage>
  <FirstName>sample string 2</FirstName>
  <Gender>sample string 8</Gender>
  <IsDeleted>true</IsDeleted>
  <JsonData>sample string 14</JsonData>
  <LocalAmountPaid>1</LocalAmountPaid>
  <LocalAmountPaidCurrency>sample string 16</LocalAmountPaidCurrency>
  <MiddleName>sample string 3</MiddleName>
  <NGNAmountPaid>1</NGNAmountPaid>
  <NGNPlanValue>1</NGNPlanValue>
  <PaymentId>b5af268d-bee5-4fee-85b7-50835b335009</PaymentId>
  <PaymentStatus>
    <CreatedOn>2024-12-22T05:39:34.001144+00:00</CreatedOn>
    <IsDeleted>true</IsDeleted>
    <IsIncrementedAmt>true</IsIncrementedAmt>
    <PaymentStatusName>sample string 2</PaymentStatusName>
    <RecordNo>1</RecordNo>
    <SortOrder>1</SortOrder>
    <UpdatedOn>2024-12-22T05:39:34.001144+00:00</UpdatedOn>
  </PaymentStatus>
  <PaymentStatusFK>1</PaymentStatusFK>
  <PhoneNumber>sample string 5</PhoneNumber>
  <PlanAmount>1</PlanAmount>
  <PlanAmountCurrency>sample string 15</PlanAmountCurrency>
  <RecordNo>1</RecordNo>
  <ReferenceNumber>sample string 11</ReferenceNumber>
  <Surname>sample string 4</Surname>
  <TestDate>2024-12-22T05:39:34.001144+00:00</TestDate>
  <Title>
    <CreatedOn>2024-12-22T05:39:34.001144+00:00</CreatedOn>
    <IsDeleted>true</IsDeleted>
    <RecordNo>1</RecordNo>
    <TitleName>sample string 2</TitleName>
    <UpdatedOn>2024-12-22T05:39:34.001144+00:00</UpdatedOn>
  </Title>
  <TitleFK>1</TitleFK>
  <UpdatedOn>2024-12-22T05:39:34.001144+00:00</UpdatedOn>
</Celpip>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.