GET api/GetSales?jobID={jobID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
jobID | integer |
Default value is 0 |
Body Parameters
None.
Response Information
Resource Description
Collection of v_MYOBLog_SaleName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
JobID | integer |
None. |
|
ClaimID | integer |
None. |
|
ClientName | string |
None. |
|
Address1 | string |
None. |
|
Address2 | string |
None. |
|
Address3 | string |
None. |
|
Address4 | string |
None. |
|
InvNo | string |
None. |
|
InvDate | date |
None. |
|
Amount | decimal number |
None. |
|
DueDays | integer |
None. |
|
AmountWithoutTax | decimal number |
None. |
|
Net | decimal number |
None. |
|
Tax | decimal number |
None. |
|
ImportFlag | boolean |
None. |
|
MYOBDivision | integer |
None. |
|
IncomeAcc | string |
None. |
|
ClaimName | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ID": 1, "JobID": 1, "ClaimID": 1, "ClientName": "sample string 1", "Address1": "sample string 2", "Address2": "sample string 3", "Address3": "sample string 4", "Address4": "sample string 5", "InvNo": "sample string 6", "InvDate": "2025-04-04T12:54:13.536912+10:00", "Amount": 1.0, "DueDays": 1, "AmountWithoutTax": 1.0, "Net": 1.0, "Tax": 1.0, "ImportFlag": true, "MYOBDivision": 1, "IncomeAcc": "sample string 7", "ClaimName": "sample string 8" }, { "ID": 1, "JobID": 1, "ClaimID": 1, "ClientName": "sample string 1", "Address1": "sample string 2", "Address2": "sample string 3", "Address3": "sample string 4", "Address4": "sample string 5", "InvNo": "sample string 6", "InvDate": "2025-04-04T12:54:13.536912+10:00", "Amount": 1.0, "DueDays": 1, "AmountWithoutTax": 1.0, "Net": 1.0, "Tax": 1.0, "ImportFlag": true, "MYOBDivision": 1, "IncomeAcc": "sample string 7", "ClaimName": "sample string 8" } ]
text/html
Sample:
[{"ID":1,"JobID":1,"ClaimID":1,"ClientName":"sample string 1","Address1":"sample string 2","Address2":"sample string 3","Address3":"sample string 4","Address4":"sample string 5","InvNo":"sample string 6","InvDate":"2025-04-04T12:54:13.536912+10:00","Amount":1.0,"DueDays":1,"AmountWithoutTax":1.0,"Net":1.0,"Tax":1.0,"ImportFlag":true,"MYOBDivision":1,"IncomeAcc":"sample string 7","ClaimName":"sample string 8"},{"ID":1,"JobID":1,"ClaimID":1,"ClientName":"sample string 1","Address1":"sample string 2","Address2":"sample string 3","Address3":"sample string 4","Address4":"sample string 5","InvNo":"sample string 6","InvDate":"2025-04-04T12:54:13.536912+10:00","Amount":1.0,"DueDays":1,"AmountWithoutTax":1.0,"Net":1.0,"Tax":1.0,"ImportFlag":true,"MYOBDivision":1,"IncomeAcc":"sample string 7","ClaimName":"sample string 8"}]
application/xml, text/xml
Sample:
<ArrayOfv_MYOBLog_Sale xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iHubLibrary.DB.Models"> <v_MYOBLog_Sale> <Address1>sample string 2</Address1> <Address2>sample string 3</Address2> <Address3>sample string 4</Address3> <Address4>sample string 5</Address4> <Amount>1</Amount> <AmountWithoutTax>1</AmountWithoutTax> <ClaimID>1</ClaimID> <ClaimName>sample string 8</ClaimName> <ClientName>sample string 1</ClientName> <DueDays>1</DueDays> <ID>1</ID> <ImportFlag>true</ImportFlag> <IncomeAcc>sample string 7</IncomeAcc> <InvDate>2025-04-04T12:54:13.536912+10:00</InvDate> <InvNo>sample string 6</InvNo> <JobID>1</JobID> <MYOBDivision>1</MYOBDivision> <Net>1</Net> <Tax>1</Tax> </v_MYOBLog_Sale> <v_MYOBLog_Sale> <Address1>sample string 2</Address1> <Address2>sample string 3</Address2> <Address3>sample string 4</Address3> <Address4>sample string 5</Address4> <Amount>1</Amount> <AmountWithoutTax>1</AmountWithoutTax> <ClaimID>1</ClaimID> <ClaimName>sample string 8</ClaimName> <ClientName>sample string 1</ClientName> <DueDays>1</DueDays> <ID>1</ID> <ImportFlag>true</ImportFlag> <IncomeAcc>sample string 7</IncomeAcc> <InvDate>2025-04-04T12:54:13.536912+10:00</InvDate> <InvNo>sample string 6</InvNo> <JobID>1</JobID> <MYOBDivision>1</MYOBDivision> <Net>1</Net> <Tax>1</Tax> </v_MYOBLog_Sale> </ArrayOfv_MYOBLog_Sale>