GET api/GetCustomers?CustomerName={CustomerName}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CustomerName

string

Default value is

Body Parameters

None.

Response Information

Resource Description

Collection of v_MYOBLog_Customer
NameDescriptionTypeAdditional information
ID

integer

None.

JobID

integer

None.

ClientName

string

None.

Address

string

None.

Phone

string

None.

Mobile

string

None.

Fax

string

None.

Email

string

None.

ImportFlag

boolean

None.

MYOBDivision

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "JobID": 1,
    "ClientName": "sample string 1",
    "Address": "sample string 2",
    "Phone": "sample string 3",
    "Mobile": "sample string 4",
    "Fax": "sample string 5",
    "Email": "sample string 6",
    "ImportFlag": true,
    "MYOBDivision": 1
  },
  {
    "ID": 1,
    "JobID": 1,
    "ClientName": "sample string 1",
    "Address": "sample string 2",
    "Phone": "sample string 3",
    "Mobile": "sample string 4",
    "Fax": "sample string 5",
    "Email": "sample string 6",
    "ImportFlag": true,
    "MYOBDivision": 1
  }
]

text/html

Sample:
[{"ID":1,"JobID":1,"ClientName":"sample string 1","Address":"sample string 2","Phone":"sample string 3","Mobile":"sample string 4","Fax":"sample string 5","Email":"sample string 6","ImportFlag":true,"MYOBDivision":1},{"ID":1,"JobID":1,"ClientName":"sample string 1","Address":"sample string 2","Phone":"sample string 3","Mobile":"sample string 4","Fax":"sample string 5","Email":"sample string 6","ImportFlag":true,"MYOBDivision":1}]

application/xml, text/xml

Sample:
<ArrayOfv_MYOBLog_Customer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iHubLibrary.DB.Models">
  <v_MYOBLog_Customer>
    <Address>sample string 2</Address>
    <ClientName>sample string 1</ClientName>
    <Email>sample string 6</Email>
    <Fax>sample string 5</Fax>
    <ID>1</ID>
    <ImportFlag>true</ImportFlag>
    <JobID>1</JobID>
    <MYOBDivision>1</MYOBDivision>
    <Mobile>sample string 4</Mobile>
    <Phone>sample string 3</Phone>
  </v_MYOBLog_Customer>
  <v_MYOBLog_Customer>
    <Address>sample string 2</Address>
    <ClientName>sample string 1</ClientName>
    <Email>sample string 6</Email>
    <Fax>sample string 5</Fax>
    <ID>1</ID>
    <ImportFlag>true</ImportFlag>
    <JobID>1</JobID>
    <MYOBDivision>1</MYOBDivision>
    <Mobile>sample string 4</Mobile>
    <Phone>sample string 3</Phone>
  </v_MYOBLog_Customer>
</ArrayOfv_MYOBLog_Customer>