PUT api/KiddiesBooking

Request Information

URI Parameters

None.

Body Parameters

KiddiesBooking
NameDescriptionTypeAdditional information
RecordNo

integer

None.

KiddiesClassTypeFK

integer

None.

KiddiesClassType

KiddiesClassType

None.

FullName

string

None.

Age

integer

None.

Gender

string

None.

Grade

string

None.

School

string

None.

LanguageLevelFK

integer

None.

LanguageFK

integer

None.

Language

Language

None.

PaymentStatusFK

integer

None.

PaymentStatus

PaymentStatus

None.

PaymentId

globally unique identifier

None.

ReferenceNumber

string

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.

JsonData

string

None.

CreatedOn

date

None.

UpdatedOn

date

None.

IsDeleted

boolean

None.

KiddiesBookingGuardian

Collection of KiddiesBookingGuardian

None.

Request Formats

application/json, text/json

Sample:
{
  "RecordNo": 1,
  "KiddiesClassTypeFK": 1,
  "KiddiesClassType": {
    "RecordNo": 1,
    "Name": "sample string 2",
    "CreatedOn": "2024-12-22T10:48:15.4400795+00:00",
    "UpdatedOn": "2024-12-22T10:48:15.4400795+00:00",
    "IsDeleted": true
  },
  "FullName": "sample string 2",
  "Age": 3,
  "Gender": "sample string 4",
  "Grade": "sample string 5",
  "School": "sample string 6",
  "LanguageLevelFK": 7,
  "LanguageFK": 8,
  "Language": {
    "RecordNo": 1,
    "Name": "sample string 2",
    "CreatedOn": "2024-12-22T10:48:15.4400795+00:00",
    "UpdatedOn": "2024-12-22T10:48:15.4400795+00:00",
    "IsDeleted": true
  },
  "PaymentStatusFK": 1,
  "PaymentStatus": {
    "RecordNo": 1,
    "PaymentStatusName": "sample string 2",
    "CreatedOn": "2024-12-22T10:48:15.4400795+00:00",
    "UpdatedOn": "2024-12-22T10:48:15.4400795+00:00",
    "IsDeleted": true,
    "IsIncrementedAmt": true,
    "SortOrder": 1
  },
  "PaymentId": "5fce85f0-c7db-4bc9-b0d8-6e8e1f792055",
  "ReferenceNumber": "sample string 9",
  "PlanAmount": 1.0,
  "PlanAmountCurrency": "sample string 10",
  "LocalAmountPaid": 1.0,
  "LocalAmountPaidCurrency": "sample string 11",
  "CountryName": "sample string 12",
  "NGNPlanValue": 1.0,
  "NGNAmountPaid": 1.0,
  "FilePath": "sample string 13",
  "JsonData": "sample string 14",
  "CreatedOn": "2024-12-22T10:48:15.4400795+00:00",
  "UpdatedOn": "2024-12-22T10:48:15.4400795+00:00",
  "IsDeleted": true,
  "KiddiesBookingGuardian": [
    {
      "RecordNo": 1,
      "KiddiesBookingFK": 2,
      "FullName": "sample string 3",
      "PhoneNumber": "sample string 4",
      "EmailAddress": "sample string 5",
      "Location": "sample string 6",
      "JsonData": "sample string 7",
      "CreatedOn": "2024-12-22T10:48:15.4400795+00:00",
      "UpdatedOn": "2024-12-22T10:48:15.4400795+00:00",
      "IsDeleted": true
    },
    {
      "RecordNo": 1,
      "KiddiesBookingFK": 2,
      "FullName": "sample string 3",
      "PhoneNumber": "sample string 4",
      "EmailAddress": "sample string 5",
      "Location": "sample string 6",
      "JsonData": "sample string 7",
      "CreatedOn": "2024-12-22T10:48:15.4400795+00:00",
      "UpdatedOn": "2024-12-22T10:48:15.4400795+00:00",
      "IsDeleted": true
    }
  ]
}

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 'TrishAcademy.Models.KiddiesBookingGuardian' 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 'TrishAcademy.Models.KiddiesBookingGuardian' 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 'KiddiesBooking'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.