POST api/abtraccrudapi/CreateJobBillingDetails?user={user}&password={password}&secretKey={secretKey}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| user | string |
Required |
|
| password | string |
Required |
|
| secretKey | string |
Required |
Body Parameters
APICRUDDataJobInvoicingDetail| Name | Description | Type | Additional information |
|---|---|---|---|
| JobID | integer |
None. |
|
| PurchaseOrderNo | string |
None. |
|
| ClientJobNumber | string |
None. |
|
| GenProgressClaimNos | boolean |
None. |
|
| PrePaymentAmountRequired | integer |
None. |
|
| PrePaymentAmountPaid | boolean |
None. |
|
| DisbursementsPercent | decimal number |
None. |
|
| BillRecipient | string |
None. |
|
| RecipientRole | string |
None. |
|
| BillCompanyName | string |
None. |
|
| BillingAddress1 | string |
None. |
|
| BillingAddress2 | string |
None. |
|
| BillingAddress3 | string |
None. |
|
| BillingAddress4 | string |
None. |
|
| BillingAddress5 | string |
None. |
|
| BillingAddressPostCode | string |
None. |
|
| BillingAddressEmail | string |
None. |
|
| BillingType | string |
None. |
|
| JobWorkValue | decimal number |
None. |
|
| FeeEstimate | decimal number |
None. |
|
| FeeEstimateDescription | string |
None. |
|
| FeeEstimateIsQuote | boolean |
None. |
|
| TShtThresholdWarning | decimal number |
None. |
|
| rowversion | string |
None. |
|
| PercentageMargin | decimal number |
None. |
|
| JobInvoicingTerms | string |
None. |
|
| InvoiceDueDays | byte |
None. |
|
| InvoiceDueRule | integer |
None. |
|
| BillingAddressContactNo | string |
None. |
|
| TShtThresholdWarningFeeOption | integer |
None. |
|
| InvoiceAddDisbFeePercent | decimal number |
None. |
|
| BillingComment | string |
None. |
|
| TaxNumber | string |
None. |
|
| EInvoiceJob | boolean |
None. |
|
| AdditionalBillingAddress | Collection of APICRUDDataJobInvoicingDetailAdditional |
None. |
Request Formats
application/json, text/json
Sample:
{
"JobID": 1,
"PurchaseOrderNo": "sample string 2",
"ClientJobNumber": "sample string 3",
"GenProgressClaimNos": true,
"PrePaymentAmountRequired": 4,
"PrePaymentAmountPaid": true,
"DisbursementsPercent": 1.1,
"BillRecipient": "sample string 5",
"RecipientRole": "sample string 6",
"BillCompanyName": "sample string 7",
"BillingAddress1": "sample string 8",
"BillingAddress2": "sample string 9",
"BillingAddress3": "sample string 10",
"BillingAddress4": "sample string 11",
"BillingAddress5": "sample string 12",
"BillingAddressPostCode": "sample string 13",
"BillingAddressEmail": "sample string 14",
"BillingType": "sample string 15",
"JobWorkValue": 1.1,
"FeeEstimate": 1.0,
"FeeEstimateDescription": "sample string 16",
"FeeEstimateIsQuote": true,
"TShtThresholdWarning": 1.1,
"rowversion": "sample string 17",
"PercentageMargin": 18.1,
"JobInvoicingTerms": "sample string 19",
"InvoiceDueDays": 64,
"InvoiceDueRule": 1,
"BillingAddressContactNo": "sample string 20",
"TShtThresholdWarningFeeOption": 21,
"InvoiceAddDisbFeePercent": 1.1,
"BillingComment": "sample string 22",
"TaxNumber": "sample string 23",
"EInvoiceJob": true,
"AdditionalBillingAddress": null
}
application/xml, text/xml
Sample:
<APICRUDDataJobInvoicingDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Abtrac6.Business.Models.APIModels"> <AdditionalBillingAddress i:nil="true" /> <BillCompanyName>sample string 7</BillCompanyName> <BillRecipient>sample string 5</BillRecipient> <BillingAddress1>sample string 8</BillingAddress1> <BillingAddress2>sample string 9</BillingAddress2> <BillingAddress3>sample string 10</BillingAddress3> <BillingAddress4>sample string 11</BillingAddress4> <BillingAddress5>sample string 12</BillingAddress5> <BillingAddressContactNo>sample string 20</BillingAddressContactNo> <BillingAddressEmail>sample string 14</BillingAddressEmail> <BillingAddressPostCode>sample string 13</BillingAddressPostCode> <BillingComment>sample string 22</BillingComment> <BillingType>sample string 15</BillingType> <ClientJobNumber>sample string 3</ClientJobNumber> <DisbursementsPercent>1.1</DisbursementsPercent> <EInvoiceJob>true</EInvoiceJob> <FeeEstimate>1</FeeEstimate> <FeeEstimateDescription>sample string 16</FeeEstimateDescription> <FeeEstimateIsQuote>true</FeeEstimateIsQuote> <GenProgressClaimNos>true</GenProgressClaimNos> <InvoiceAddDisbFeePercent>1.1</InvoiceAddDisbFeePercent> <InvoiceDueDays>64</InvoiceDueDays> <InvoiceDueRule>1</InvoiceDueRule> <JobID>1</JobID> <JobInvoicingTerms>sample string 19</JobInvoicingTerms> <JobWorkValue>1.1</JobWorkValue> <PercentageMargin>18.1</PercentageMargin> <PrePaymentAmountPaid>true</PrePaymentAmountPaid> <PrePaymentAmountRequired>4</PrePaymentAmountRequired> <PurchaseOrderNo>sample string 2</PurchaseOrderNo> <RecipientRole>sample string 6</RecipientRole> <TShtThresholdWarning>1.1</TShtThresholdWarning> <TShtThresholdWarningFeeOption>21</TShtThresholdWarningFeeOption> <TaxNumber>sample string 23</TaxNumber> <rowversion>sample string 17</rowversion> </APICRUDDataJobInvoicingDetail>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |