POST api/Invoice/RegenerateInvoice

Request Information

URI Parameters

None.

Body Parameters

TR_MemberInvoice_GetResult
NameDescriptionTypeAdditional information
MembershipInvoiceId

integer

None.

PersonId

integer

None.

InvoiceRunId

integer

None.

InvoiceNumber

integer

None.

InvoiceDate

date

None.

InvoiceAmount

decimal number

None.

VatAmount

decimal number

None.

VatRate

integer

None.

ForMembershipPeriodEndingMonthId

integer

None.

HasGeneratedPdf

boolean

None.

GeneratedPdf

Collection of byte

None.

FinalisedDateTime

date

None.

ExpiryDateAutomaticallyMoved

boolean

None.

FpdFlagRemoved

boolean

None.

Notes

string

None.

InternalNotes

string

None.

MembershipNumber

string

None.

MemberDisplayName

string

None.

MemberEmailAddress

string

None.

MemberTelephoneMobile

string

None.

CompanyName

string

None.

CompanyVatNumber

string

None.

CompanyReference

string

None.

AddressLine1

string

None.

AddressLine2

string

None.

AddressLine3

string

None.

PostalCode

string

None.

Suburb

string

None.

Town

string

None.

Province

string

None.

Country

string

None.

ExpiryDate

date

None.

CurrentBalance

decimal number

None.

HeaderDynamicText

string

None.

FooterDynamicText

string

None.

IsFpdAtTime

boolean

None.

EmailInvoiceToMember

boolean

None.

PostInvoiceToMember

boolean

None.

CreatedDate

date

None.

CreatedBy

integer

None.

ModifiedDate

date

None.

ModifiedBy

integer

None.

IsDeleted

boolean

None.

ForPeriodEndingDateShort

string

None.

AuthToken

string

None.

Request Formats

application/json, text/json

Sample:
{
  "MembershipInvoiceId": 1,
  "PersonId": 2,
  "InvoiceRunId": 1,
  "InvoiceNumber": 3,
  "InvoiceDate": "2024-11-26T17:18:42.8176717+02:00",
  "InvoiceAmount": 1.0,
  "VatAmount": 1.0,
  "VatRate": 1,
  "ForMembershipPeriodEndingMonthId": 1,
  "HasGeneratedPdf": true,
  "GeneratedPdf": "QEA=",
  "FinalisedDateTime": "2024-11-26T17:18:42.8332459+02:00",
  "ExpiryDateAutomaticallyMoved": true,
  "FpdFlagRemoved": true,
  "Notes": "sample string 4",
  "InternalNotes": "sample string 5",
  "MembershipNumber": "sample string 6",
  "MemberDisplayName": "sample string 7",
  "MemberEmailAddress": "sample string 8",
  "MemberTelephoneMobile": "sample string 9",
  "CompanyName": "sample string 10",
  "CompanyVatNumber": "sample string 11",
  "CompanyReference": "sample string 12",
  "AddressLine1": "sample string 13",
  "AddressLine2": "sample string 14",
  "AddressLine3": "sample string 15",
  "PostalCode": "sample string 16",
  "Suburb": "sample string 17",
  "Town": "sample string 18",
  "Province": "sample string 19",
  "Country": "sample string 20",
  "ExpiryDate": "2024-11-26T17:18:42.8332459+02:00",
  "CurrentBalance": 1.0,
  "HeaderDynamicText": "sample string 21",
  "FooterDynamicText": "sample string 22",
  "IsFpdAtTime": true,
  "EmailInvoiceToMember": true,
  "PostInvoiceToMember": true,
  "CreatedDate": "2024-11-26T17:18:42.8332459+02:00",
  "CreatedBy": 24,
  "ModifiedDate": "2024-11-26T17:18:42.8332459+02:00",
  "ModifiedBy": 1,
  "IsDeleted": true,
  "ForPeriodEndingDateShort": "sample string 26",
  "AuthToken": "sample string 27"
}

application/xml, text/xml

Sample:
<TR_MemberInvoice_GetResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rysis.Sahiv.Midtier2.Repo">
  <AddressLine1>sample string 13</AddressLine1>
  <AddressLine2>sample string 14</AddressLine2>
  <AddressLine3>sample string 15</AddressLine3>
  <AuthToken>sample string 27</AuthToken>
  <CompanyName>sample string 10</CompanyName>
  <CompanyReference>sample string 12</CompanyReference>
  <CompanyVatNumber>sample string 11</CompanyVatNumber>
  <Country>sample string 20</Country>
  <CreatedBy>24</CreatedBy>
  <CreatedDate>2024-11-26T17:18:42.8332459+02:00</CreatedDate>
  <CurrentBalance>1</CurrentBalance>
  <EmailInvoiceToMember>true</EmailInvoiceToMember>
  <ExpiryDate>2024-11-26T17:18:42.8332459+02:00</ExpiryDate>
  <ExpiryDateAutomaticallyMoved>true</ExpiryDateAutomaticallyMoved>
  <FinalisedDateTime>2024-11-26T17:18:42.8332459+02:00</FinalisedDateTime>
  <FooterDynamicText>sample string 22</FooterDynamicText>
  <ForMembershipPeriodEndingMonthId>1</ForMembershipPeriodEndingMonthId>
  <ForPeriodEndingDateShort>sample string 26</ForPeriodEndingDateShort>
  <FpdFlagRemoved>true</FpdFlagRemoved>
  <GeneratedPdf>QEA=</GeneratedPdf>
  <HasGeneratedPdf>true</HasGeneratedPdf>
  <HeaderDynamicText>sample string 21</HeaderDynamicText>
  <InternalNotes>sample string 5</InternalNotes>
  <InvoiceAmount>1</InvoiceAmount>
  <InvoiceDate>2024-11-26T17:18:42.8176717+02:00</InvoiceDate>
  <InvoiceNumber>3</InvoiceNumber>
  <InvoiceRunId>1</InvoiceRunId>
  <IsDeleted>true</IsDeleted>
  <IsFpdAtTime>true</IsFpdAtTime>
  <MemberDisplayName>sample string 7</MemberDisplayName>
  <MemberEmailAddress>sample string 8</MemberEmailAddress>
  <MemberTelephoneMobile>sample string 9</MemberTelephoneMobile>
  <MembershipInvoiceId>1</MembershipInvoiceId>
  <MembershipNumber>sample string 6</MembershipNumber>
  <ModifiedBy>1</ModifiedBy>
  <ModifiedDate>2024-11-26T17:18:42.8332459+02:00</ModifiedDate>
  <Notes>sample string 4</Notes>
  <PersonId>2</PersonId>
  <PostInvoiceToMember>true</PostInvoiceToMember>
  <PostalCode>sample string 16</PostalCode>
  <Province>sample string 19</Province>
  <Suburb>sample string 17</Suburb>
  <Town>sample string 18</Town>
  <VatAmount>1</VatAmount>
  <VatRate>1</VatRate>
</TR_MemberInvoice_GetResult>

multipart/form-data

Sample:
<TR_MemberInvoice_GetResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rysis.Sahiv.Midtier2.Repo"><AddressLine1>sample string 13</AddressLine1><AddressLine2>sample string 14</AddressLine2><AddressLine3>sample string 15</AddressLine3><AuthToken>sample string 27</AuthToken><CompanyName>sample string 10</CompanyName><CompanyReference>sample string 12</CompanyReference><CompanyVatNumber>sample string 11</CompanyVatNumber><Country>sample string 20</Country><CreatedBy>24</CreatedBy><CreatedDate>2024-11-26T17:18:42.8332459+02:00</CreatedDate><CurrentBalance>1</CurrentBalance><EmailInvoiceToMember>true</EmailInvoiceToMember><ExpiryDate>2024-11-26T17:18:42.8332459+02:00</ExpiryDate><ExpiryDateAutomaticallyMoved>true</ExpiryDateAutomaticallyMoved><FinalisedDateTime>2024-11-26T17:18:42.8332459+02:00</FinalisedDateTime><FooterDynamicText>sample string 22</FooterDynamicText><ForMembershipPeriodEndingMonthId>1</ForMembershipPeriodEndingMonthId><ForPeriodEndingDateShort>sample string 26</ForPeriodEndingDateShort><FpdFlagRemoved>true</FpdFlagRemoved><GeneratedPdf>QEA=</GeneratedPdf><HasGeneratedPdf>true</HasGeneratedPdf><HeaderDynamicText>sample string 21</HeaderDynamicText><InternalNotes>sample string 5</InternalNotes><InvoiceAmount>1</InvoiceAmount><InvoiceDate>2024-11-26T17:18:42.8176717+02:00</InvoiceDate><InvoiceNumber>3</InvoiceNumber><InvoiceRunId>1</InvoiceRunId><IsDeleted>true</IsDeleted><IsFpdAtTime>true</IsFpdAtTime><MemberDisplayName>sample string 7</MemberDisplayName><MemberEmailAddress>sample string 8</MemberEmailAddress><MemberTelephoneMobile>sample string 9</MemberTelephoneMobile><MembershipInvoiceId>1</MembershipInvoiceId><MembershipNumber>sample string 6</MembershipNumber><ModifiedBy>1</ModifiedBy><ModifiedDate>2024-11-26T17:18:42.8332459+02:00</ModifiedDate><Notes>sample string 4</Notes><PersonId>2</PersonId><PostInvoiceToMember>true</PostInvoiceToMember><PostalCode>sample string 16</PostalCode><Province>sample string 19</Province><Suburb>sample string 17</Suburb><Town>sample string 18</Town><VatAmount>1</VatAmount><VatRate>1</VatRate></TR_MemberInvoice_GetResult>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, multipart/form-data

Sample:

Sample not available.