POST api/CreateCustomBookingInvoice
Request Information
URI Parameters
None.
Body Parameters
CustomBookingInvoiceVm| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| SubTotal | decimal number |
None. |
|
| Total | decimal number |
None. |
|
| Charges | Collection of CustomBookingPaymentChargeVm |
None. |
|
| CustomBookingInvoiceItem | Collection of CustomBookingInvoiceItemVm |
None. |
|
| CustomBooking | CustomBookingVm |
None. |
|
| CustomBookingId | integer |
None. |
|
| InvoiceNumber | string |
None. |
|
| Remarks | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"SubTotal": 2.1,
"Total": 3.1,
"Charges": [
{
"Id": 1,
"Name": "sample string 2",
"Percentage": 3.1,
"Amount": 4.1,
"SubCharges": [],
"MasterCharge": {
"Id": 1,
"Name": "sample string 1",
"Percentage": 2.1,
"SubCharges": [],
"IsTax": true,
"IsCess": true,
"IsDiscount": true,
"IsTDS": true
},
"MasterChargeId": 1
},
{
"Id": 1,
"Name": "sample string 2",
"Percentage": 3.1,
"Amount": 4.1,
"SubCharges": [],
"MasterCharge": {
"Id": 1,
"Name": "sample string 1",
"Percentage": 2.1,
"SubCharges": [],
"IsTax": true,
"IsCess": true,
"IsDiscount": true,
"IsTDS": true
},
"MasterChargeId": 1
}
],
"CustomBookingInvoiceItem": [
{
"Id": 1,
"Name": "sample string 2",
"Charges": [
{
"Id": 1,
"Name": "sample string 2",
"Percentage": 3.1,
"Amount": 4.1,
"SubCharges": [],
"MasterCharge": {
"Id": 1,
"Name": "sample string 1",
"Percentage": 2.1,
"SubCharges": [],
"IsTax": true,
"IsCess": true,
"IsDiscount": true,
"IsTDS": true
},
"MasterChargeId": 1
},
{
"Id": 1,
"Name": "sample string 2",
"Percentage": 3.1,
"Amount": 4.1,
"SubCharges": [],
"MasterCharge": {
"Id": 1,
"Name": "sample string 1",
"Percentage": 2.1,
"SubCharges": [],
"IsTax": true,
"IsCess": true,
"IsDiscount": true,
"IsTDS": true
},
"MasterChargeId": 1
}
],
"SubTotal": 3.1,
"Total": 4.1
},
{
"Id": 1,
"Name": "sample string 2",
"Charges": [
{
"Id": 1,
"Name": "sample string 2",
"Percentage": 3.1,
"Amount": 4.1,
"SubCharges": [],
"MasterCharge": {
"Id": 1,
"Name": "sample string 1",
"Percentage": 2.1,
"SubCharges": [],
"IsTax": true,
"IsCess": true,
"IsDiscount": true,
"IsTDS": true
},
"MasterChargeId": 1
},
{
"Id": 1,
"Name": "sample string 2",
"Percentage": 3.1,
"Amount": 4.1,
"SubCharges": [],
"MasterCharge": {
"Id": 1,
"Name": "sample string 1",
"Percentage": 2.1,
"SubCharges": [],
"IsTax": true,
"IsCess": true,
"IsDiscount": true,
"IsTDS": true
},
"MasterChargeId": 1
}
],
"SubTotal": 3.1,
"Total": 4.1
}
],
"CustomBooking": {
"Id": 1,
"MemberShipType": "sample string 2",
"MemberShipNumber": "sample string 3",
"ReferenceNumber": "sample string 4",
"FirstName": "sample string 5",
"LastName": "sample string 6",
"ProfileImageUrl": "sample string 7",
"Email": "sample string 8",
"Mobile": "sample string 9",
"Aadhaar": "sample string 10",
"UID": "sample string 11",
"UIDTypeId": 1,
"MiddleName": "sample string 12",
"GenderId": 13,
"CompanyId": 14,
"BookingDate": "2025-12-07T14:36:05.9498439Z",
"BloodGroup": "sample string 16",
"Nationality": "sample string 17",
"Pan": "sample string 18",
"MaritalStatus": "sample string 19",
"CompanyName": "sample string 20",
"OfficeAddress": "sample string 21",
"Nature": "sample string 22",
"GstNo": "sample string 23",
"DateOfBirth": "2025-12-07T14:36:05.9498439Z",
"WeddingAnniversaryDate": "2025-12-07T14:36:05.9498439Z",
"DependentMembers": [
{
"Id": 1,
"Type": "sample string 2",
"FirstName": "sample string 3",
"LastName": "sample string 4",
"Email": "sample string 5",
"ProfileImageUrl": "sample string 6",
"Aadhaar": "sample string 7",
"UID": "sample string 8",
"UIDTypeId": 1,
"GenderId": 9,
"Relation": "sample string 10",
"DateOfBirth": "2025-12-07T14:36:05.9498439Z",
"WeddingAnniversaryDate": "2025-12-07T14:36:05.9498439Z",
"Contact": "sample string 13",
"BloodGroup": "sample string 14"
},
{
"Id": 1,
"Type": "sample string 2",
"FirstName": "sample string 3",
"LastName": "sample string 4",
"Email": "sample string 5",
"ProfileImageUrl": "sample string 6",
"Aadhaar": "sample string 7",
"UID": "sample string 8",
"UIDTypeId": 1,
"GenderId": 9,
"Relation": "sample string 10",
"DateOfBirth": "2025-12-07T14:36:05.9498439Z",
"WeddingAnniversaryDate": "2025-12-07T14:36:05.9498439Z",
"Contact": "sample string 13",
"BloodGroup": "sample string 14"
}
],
"ParentMembers": [
{
"Id": 1,
"Type": "sample string 2",
"FirstName": "sample string 3",
"LastName": "sample string 4",
"Email": "sample string 5",
"ProfileImageUrl": "sample string 6",
"Aadhaar": "sample string 7",
"UID": "sample string 8",
"UIDTypeId": 1,
"GenderId": 9,
"Relation": "sample string 10",
"DateOfBirth": "2025-12-07T14:36:05.9498439Z",
"WeddingAnniversaryDate": "2025-12-07T14:36:05.9498439Z",
"Contact": "sample string 13",
"BloodGroup": "sample string 14"
},
{
"Id": 1,
"Type": "sample string 2",
"FirstName": "sample string 3",
"LastName": "sample string 4",
"Email": "sample string 5",
"ProfileImageUrl": "sample string 6",
"Aadhaar": "sample string 7",
"UID": "sample string 8",
"UIDTypeId": 1,
"GenderId": 9,
"Relation": "sample string 10",
"DateOfBirth": "2025-12-07T14:36:05.9498439Z",
"WeddingAnniversaryDate": "2025-12-07T14:36:05.9498439Z",
"Contact": "sample string 13",
"BloodGroup": "sample string 14"
}
],
"Nominee": {
"Id": 1,
"Type": "sample string 2",
"FirstName": "sample string 3",
"LastName": "sample string 4",
"Email": "sample string 5",
"ProfileImageUrl": "sample string 6",
"Aadhaar": "sample string 7",
"UID": "sample string 8",
"UIDTypeId": 1,
"GenderId": 9,
"Relation": "sample string 10",
"DateOfBirth": "2025-12-07T14:36:05.9498439Z",
"WeddingAnniversaryDate": "2025-12-07T14:36:05.9498439Z",
"Contact": "sample string 13",
"BloodGroup": "sample string 14"
},
"EmergencyContact": {
"Id": 1,
"Type": "sample string 2",
"FirstName": "sample string 3",
"LastName": "sample string 4",
"Email": "sample string 5",
"ProfileImageUrl": "sample string 6",
"Aadhaar": "sample string 7",
"UID": "sample string 8",
"UIDTypeId": 1,
"GenderId": 9,
"Relation": "sample string 10",
"DateOfBirth": "2025-12-07T14:36:05.9498439Z",
"WeddingAnniversaryDate": "2025-12-07T14:36:05.9498439Z",
"Contact": "sample string 13",
"BloodGroup": "sample string 14"
},
"PresentAddress": {
"Id": 1,
"Address": "sample string 1",
"Country": "sample string 2",
"StateId": 1,
"Location": "sample string 3",
"SubLocationId": 1,
"Pincode": "sample string 4",
"Email": "sample string 5",
"Mobile": "sample string 6"
},
"PermanentAddress": {
"Id": 1,
"Address": "sample string 1",
"Country": "sample string 2",
"StateId": 1,
"Location": "sample string 3",
"SubLocationId": 1,
"Pincode": "sample string 4",
"Email": "sample string 5",
"Mobile": "sample string 6"
},
"CustomBookingDocuments": [
{
"Id": 1,
"Name": "sample string 1",
"Url": "sample string 2",
"Description": "sample string 3",
"Type": "sample string 4",
"Category": "sample string 5",
"Base64Url": "sample string 6"
},
{
"Id": 1,
"Name": "sample string 1",
"Url": "sample string 2",
"Description": "sample string 3",
"Type": "sample string 4",
"Category": "sample string 5",
"Base64Url": "sample string 6"
}
],
"OtherType": "sample string 26",
"OrganizationName": "sample string 27",
"Designation": "sample string 28",
"AnnualIncome": "sample string 29",
"Vehicle": "sample string 30",
"OtherMembership": "sample string 31",
"IsRejected": true,
"IsConvicted": true,
"MembershipFees": 34.1,
"RefundableFees": 35.1,
"MembershipCategory": "sample string 36",
"LeadId": 37,
"CurrentManagerId": 1,
"ExecutiveId": 38,
"SourceId": 39,
"SourceName": "sample string 40",
"BookingPaymentPlan": {
"Id": 1,
"PaymentPlanId": 1,
"PaymentPlanSlabs": [
{
"Id": 1,
"Name": "sample string 2",
"Date": "2025-12-07T14:36:05.9498439Z",
"Amount": 4.1,
"PaymentPlanId": 1
},
{
"Id": 1,
"Name": "sample string 2",
"Date": "2025-12-07T14:36:05.9498439Z",
"Amount": 4.1,
"PaymentPlanId": 1
}
]
},
"GSTPercentage": 41.0,
"GSTAmount": 42.0,
"GrandTotal": 43.0,
"Lat": 44.1,
"Lng": 45.1,
"Location": "sample string 46",
"Postcode": "sample string 47",
"State": "sample string 48",
"Country": "sample string 49"
},
"CustomBookingId": 1,
"InvoiceNumber": "sample string 4",
"Remarks": "sample string 5"
}
application/xml
Sample:
text/xml
Sample:
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Response| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| Description | string |
None. |
|
| Data | Object |
None. |
|
| Count | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Message": "sample string 2",
"Description": "sample string 3",
"Data": {},
"Count": 5
}
application/xml, text/xml
Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerServer.Models"> <Count>5</Count> <Data /> <Description>sample string 3</Description> <Message>sample string 2</Message> <Success>true</Success> </Response>