POST api/GCMSOrder

Request Information

URI Parameters

None.

Body Parameters

GCMSOrder
NameDescriptionTypeAdditional information
RecordNo

integer

None.

FirstName

string

None.

LastName

string

None.

DOB

date

None.

ClientId

string

None.

ApplicationTypeFK

integer

None.

ApplicationType

ApplicationType

None.

Email

string

None.

PhoneNumber

string

None.

Notes

string

None.

ReferenceNumber

string

None.

JsonData

string

None.

CreatedOn

date

None.

UpdatedOn

date

None.

IsDeleted

boolean

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.

FilePath

string

None.

Request Formats

application/json, text/json

Sample:
{
  "RecordNo": 1,
  "FirstName": "sample string 2",
  "LastName": "sample string 3",
  "DOB": "2024-12-22T23:55:53.2194234+00:00",
  "ClientId": "sample string 5",
  "ApplicationTypeFK": 6,
  "ApplicationType": {
    "RecordNo": 1,
    "ApplicationTypeName": "sample string 2",
    "CreatedOn": "2024-12-22T23:55:53.2194234+00:00",
    "UpdatedOn": "2024-12-22T23:55:53.2194234+00:00",
    "IsDeleted": true
  },
  "Email": "sample string 7",
  "PhoneNumber": "sample string 8",
  "Notes": "sample string 9",
  "ReferenceNumber": "sample string 10",
  "JsonData": "sample string 11",
  "CreatedOn": "2024-12-22T23:55:53.2194234+00:00",
  "UpdatedOn": "2024-12-22T23:55:53.2194234+00:00",
  "IsDeleted": true,
  "PaymentStatusFK": 1,
  "PaymentStatus": {
    "RecordNo": 1,
    "PaymentStatusName": "sample string 2",
    "CreatedOn": "2024-12-22T23:55:53.2194234+00:00",
    "UpdatedOn": "2024-12-22T23:55:53.2194234+00:00",
    "IsDeleted": true,
    "IsIncrementedAmt": true,
    "SortOrder": 1
  },
  "PaymentId": "0db3bc0a-e6e0-457d-ad0c-79c34d73d198",
  "PlanAmount": 14.0,
  "PlanAmountCurrency": "sample string 15",
  "LocalAmountPaid": 1.0,
  "LocalAmountPaidCurrency": "sample string 16",
  "CountryName": "sample string 17",
  "NGNPlanValue": 1.0,
  "NGNAmountPaid": 1.0,
  "FilePath": "sample string 18"
}

application/xml, text/xml

Sample:
<GCMSOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TrishAcademy.Models">
  <ApplicationType>
    <ApplicationTypeName>sample string 2</ApplicationTypeName>
    <CreatedOn>2024-12-22T23:55:53.2194234+00:00</CreatedOn>
    <IsDeleted>true</IsDeleted>
    <RecordNo>1</RecordNo>
    <UpdatedOn>2024-12-22T23:55:53.2194234+00:00</UpdatedOn>
  </ApplicationType>
  <ApplicationTypeFK>6</ApplicationTypeFK>
  <ClientId>sample string 5</ClientId>
  <CountryName>sample string 17</CountryName>
  <CreatedOn>2024-12-22T23:55:53.2194234+00:00</CreatedOn>
  <DOB>2024-12-22T23:55:53.2194234+00:00</DOB>
  <Email>sample string 7</Email>
  <FilePath>sample string 18</FilePath>
  <FirstName>sample string 2</FirstName>
  <IsDeleted>true</IsDeleted>
  <JsonData>sample string 11</JsonData>
  <LastName>sample string 3</LastName>
  <LocalAmountPaid>1</LocalAmountPaid>
  <LocalAmountPaidCurrency>sample string 16</LocalAmountPaidCurrency>
  <NGNAmountPaid>1</NGNAmountPaid>
  <NGNPlanValue>1</NGNPlanValue>
  <Notes>sample string 9</Notes>
  <PaymentId>0db3bc0a-e6e0-457d-ad0c-79c34d73d198</PaymentId>
  <PaymentStatus>
    <CreatedOn>2024-12-22T23:55:53.2194234+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:53.2194234+00:00</UpdatedOn>
  </PaymentStatus>
  <PaymentStatusFK>1</PaymentStatusFK>
  <PhoneNumber>sample string 8</PhoneNumber>
  <PlanAmount>14</PlanAmount>
  <PlanAmountCurrency>sample string 15</PlanAmountCurrency>
  <RecordNo>1</RecordNo>
  <ReferenceNumber>sample string 10</ReferenceNumber>
  <UpdatedOn>2024-12-22T23:55:53.2194234+00:00</UpdatedOn>
</GCMSOrder>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.