POST api/Registration/ConvertToAdminInvoiceViewModel

Request Information

URI Parameters

None.

Body Parameters

InvoiceMaster
NameDescriptionTypeAdditional information
ID

integer

None.

Adjustment

string

None.

BillingCityID

integer

None.

BillingCode

string

None.

BillingStateID

integer

None.

BillingStreet

string

None.

CreatedBy

integer

None.

CreatedTime

date

None.

Description

string

None.

Discount

decimal number

None.

DueDate

date

None.

GrandTotal

decimal number

None.

InvoiceDate

date

None.

InvoiceNumber

string

None.

InvoiceOwner

integer

None.

ModifiedBy

integer

None.

ModifiedTime

date

None.

Status

integer

None.

PaymentNumber

string

None.

SubscriberID

integer

None.

IsNotificationSent

boolean

None.

NotificationType

integer

None.

NotificationDate

date

None.

IsAdminGenerated

boolean

None.

Notes

string

None.

ContactId

integer

None.

PurchaseOrder

string

None.

ProductId

integer

None.

ShippingCityID

integer

None.

ShippingCode

string

None.

ShippingStateID

integer

None.

ShippingStreet

string

None.

TermCondition

string

None.

IsActive

boolean

None.

IsDeleted

boolean

None.

IsPaid

boolean

None.

SubscriberProductId

integer

None.

IsCheckPayment

boolean

None.

VoidPayment

boolean

None.

WriteOff

boolean

None.

PaymentMethod

integer

None.

PaymentDate

date

None.

CustomSetupFee

boolean

None.

VoidPaymentDate

date

None.

IsCustomAmt

boolean

None.

TransactionChargeId

string

None.

RefundedId

integer

None.

IsRefunded

boolean

None.

SetupFee

decimal number

None.

CityTable

CityTable

None.

CityTable1

CityTable

None.

GroupMaster

GroupMaster

None.

GroupMaster1

GroupMaster

None.

InvoiceChequePayments

Collection of InvoiceChequePayment

None.

SubscriberContact

SubscriberContact

None.

ProductMaster

ProductMaster

None.

StateTable

StateTable

None.

StateTable1

StateTable

None.

SubscriberMaster

SubscriberMaster

None.

SubscriberProduct

SubscriberProduct

None.

TblRefund

TblRefund

None.

InvoiceNotifications

Collection of InvoiceNotification

None.

InvoicePayments

Collection of InvoicePayment

None.

TransactionMasters

Collection of TransactionMaster

None.

Request Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AdminInvoiceDetailsViewModel
NameDescriptionTypeAdditional information
InvoiceDetailsId

integer

None.

InvoiceNumber

string

None.

InvoiceAmount

decimal number

None.

SetupFee

decimal number

None.

SubscriptionAmount

decimal number

None.

PurchaseOrder

string

None.

InvoiceStatus

integer

None.

InvoiceDate

date

None.

DueDate

date

None.

SubscriberId

integer

None.

SubscriberName

string

None.

SubscriberHouseNumber

integer

None.

SubscriberStreet

string

None.

SubscriberEmail

string

None.

ContactId

integer

None.

ContactName

string

None.

SubscriptionTypeId

integer

None.

SubscriptionTypeName

string

None.

SubscriptionTypeNote

string

None.

SubscriptionTypeFlagNumber

integer

None.

SubscriptionTypePrice

decimal number

None.

BillingStreet

string

None.

BillingStateId

integer

None.

BillingCityId

integer

None.

BillingCode

string

None.

ShippingStreet

string

None.

ShippingStateId

integer

None.

ShippingStateName

string

None.

BillingStateName

string

None.

ShippingCityId

integer

None.

ShippingCityName

string

None.

BillingCityName

string

None.

ShippingCode

string

None.

InvoiceCreatedBy

integer

None.

InvoiceCreatedOn

date

None.

InvoiceOwner

integer

None.

InvoiceOwnerName

string

None.

InvoiceModifiedBy

integer

None.

InvoiceModifiedOn

date

None.

InvoiceDescription

string

None.

InvoiceTermCondition

string

None.

IsInvoiceActive

boolean

None.

IsInvoiceDeleted

boolean

None.

IsPaid

boolean

None.

IsChequePayment

boolean

None.

Voided

boolean

None.

WrittenOff

boolean

None.

CanVoid

boolean

None.

CanWriteoff

boolean

None.

PaymentMethod

integer

None.

CreatedBy

integer

None.

SubscriberProductId

integer

None.

DonationAmount

decimal number

None.

setupfeeinclude

boolean

None.

isAdminGenerated

boolean

None.

customSetupFee

boolean

None.

IsCustomAmt

boolean

None.

CustomAmt

decimal number

None.

IsRefunded

boolean

None.

RefundAmount

decimal number

None.

AcountName

string

None.

IsRefundable

boolean

None.

PaymentDate

date

None.

VoidPaymentDate

date

None.

Response Formats

application/json, text/json

Sample:
{
  "InvoiceDetailsId": 1,
  "InvoiceNumber": "sample string 2",
  "InvoiceAmount": 3.0,
  "SetupFee": 1.0,
  "SubscriptionAmount": 1.0,
  "PurchaseOrder": "sample string 4",
  "InvoiceStatus": 5,
  "InvoiceDate": "2026-04-15T18:44:43.7136607+00:00",
  "DueDate": "2026-04-15T18:44:43.7136607+00:00",
  "SubscriberId": 6,
  "SubscriberName": "sample string 7",
  "SubscriberHouseNumber": 1,
  "SubscriberStreet": "sample string 8",
  "SubscriberEmail": "sample string 9",
  "ContactId": 10,
  "ContactName": "sample string 11",
  "SubscriptionTypeId": 12,
  "SubscriptionTypeName": "sample string 13",
  "SubscriptionTypeNote": "sample string 14",
  "SubscriptionTypeFlagNumber": 15,
  "SubscriptionTypePrice": 16.0,
  "BillingStreet": "sample string 17",
  "BillingStateId": 18,
  "BillingCityId": 19,
  "BillingCode": "sample string 20",
  "ShippingStreet": "sample string 21",
  "ShippingStateId": 22,
  "ShippingStateName": "sample string 23",
  "BillingStateName": "sample string 24",
  "ShippingCityId": 25,
  "ShippingCityName": "sample string 26",
  "BillingCityName": "sample string 27",
  "ShippingCode": "sample string 28",
  "InvoiceCreatedBy": 29,
  "InvoiceCreatedOn": "2026-04-15T18:44:43.729287+00:00",
  "InvoiceOwner": 30,
  "InvoiceOwnerName": "sample string 31",
  "InvoiceModifiedBy": 32,
  "InvoiceModifiedOn": "2026-04-15T18:44:43.729287+00:00",
  "InvoiceDescription": "sample string 33",
  "InvoiceTermCondition": "sample string 34",
  "IsInvoiceActive": true,
  "IsInvoiceDeleted": true,
  "IsPaid": true,
  "IsChequePayment": true,
  "Voided": true,
  "WrittenOff": true,
  "CanVoid": true,
  "CanWriteoff": true,
  "PaymentMethod": 1,
  "CreatedBy": 1,
  "SubscriberProductId": 1,
  "DonationAmount": 38.0,
  "setupfeeinclude": true,
  "isAdminGenerated": true,
  "customSetupFee": true,
  "IsCustomAmt": true,
  "CustomAmt": 1.1,
  "IsRefunded": true,
  "RefundAmount": 1.1,
  "AcountName": "sample string 40",
  "IsRefundable": true,
  "PaymentDate": "2026-04-15T18:44:43.729287+00:00",
  "VoidPaymentDate": "2026-04-15T18:44:43.729287+00:00"
}

application/xml, text/xml

Sample:
<AdminInvoiceDetailsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Flag360.ViewModels.Admin">
  <AcountName>sample string 40</AcountName>
  <BillingCityId>19</BillingCityId>
  <BillingCityName>sample string 27</BillingCityName>
  <BillingCode>sample string 20</BillingCode>
  <BillingStateId>18</BillingStateId>
  <BillingStateName>sample string 24</BillingStateName>
  <BillingStreet>sample string 17</BillingStreet>
  <CanVoid>true</CanVoid>
  <CanWriteoff>true</CanWriteoff>
  <ContactId>10</ContactId>
  <ContactName>sample string 11</ContactName>
  <CreatedBy>1</CreatedBy>
  <CustomAmt>1.1</CustomAmt>
  <DonationAmount>38</DonationAmount>
  <DueDate>2026-04-15T18:44:43.7136607+00:00</DueDate>
  <InvoiceAmount>3</InvoiceAmount>
  <InvoiceCreatedBy>29</InvoiceCreatedBy>
  <InvoiceCreatedOn>2026-04-15T18:44:43.729287+00:00</InvoiceCreatedOn>
  <InvoiceDate>2026-04-15T18:44:43.7136607+00:00</InvoiceDate>
  <InvoiceDescription>sample string 33</InvoiceDescription>
  <InvoiceDetailsId>1</InvoiceDetailsId>
  <InvoiceModifiedBy>32</InvoiceModifiedBy>
  <InvoiceModifiedOn>2026-04-15T18:44:43.729287+00:00</InvoiceModifiedOn>
  <InvoiceNumber>sample string 2</InvoiceNumber>
  <InvoiceOwner>30</InvoiceOwner>
  <InvoiceOwnerName>sample string 31</InvoiceOwnerName>
  <InvoiceStatus>5</InvoiceStatus>
  <InvoiceTermCondition>sample string 34</InvoiceTermCondition>
  <IsChequePayment>true</IsChequePayment>
  <IsCustomAmt>true</IsCustomAmt>
  <IsInvoiceActive>true</IsInvoiceActive>
  <IsInvoiceDeleted>true</IsInvoiceDeleted>
  <IsPaid>true</IsPaid>
  <IsRefundable>true</IsRefundable>
  <IsRefunded>true</IsRefunded>
  <PaymentDate>2026-04-15T18:44:43.729287+00:00</PaymentDate>
  <PaymentMethod>1</PaymentMethod>
  <PurchaseOrder>sample string 4</PurchaseOrder>
  <RefundAmount>1.1</RefundAmount>
  <SetupFee>1</SetupFee>
  <ShippingCityId>25</ShippingCityId>
  <ShippingCityName>sample string 26</ShippingCityName>
  <ShippingCode>sample string 28</ShippingCode>
  <ShippingStateId>22</ShippingStateId>
  <ShippingStateName>sample string 23</ShippingStateName>
  <ShippingStreet>sample string 21</ShippingStreet>
  <SubscriberEmail>sample string 9</SubscriberEmail>
  <SubscriberHouseNumber>1</SubscriberHouseNumber>
  <SubscriberId>6</SubscriberId>
  <SubscriberName>sample string 7</SubscriberName>
  <SubscriberProductId>1</SubscriberProductId>
  <SubscriberStreet>sample string 8</SubscriberStreet>
  <SubscriptionAmount>1</SubscriptionAmount>
  <SubscriptionTypeFlagNumber>15</SubscriptionTypeFlagNumber>
  <SubscriptionTypeId>12</SubscriptionTypeId>
  <SubscriptionTypeName>sample string 13</SubscriptionTypeName>
  <SubscriptionTypeNote>sample string 14</SubscriptionTypeNote>
  <SubscriptionTypePrice>16</SubscriptionTypePrice>
  <VoidPaymentDate>2026-04-15T18:44:43.729287+00:00</VoidPaymentDate>
  <Voided>true</Voided>
  <WrittenOff>true</WrittenOff>
  <customSetupFee>true</customSetupFee>
  <isAdminGenerated>true</isAdminGenerated>
  <setupfeeinclude>true</setupfeeinclude>
</AdminInvoiceDetailsViewModel>