GET api/MyPage/Companies?customerNo={customerNo}&customerName={customerName}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
customerNo

integer

None.

customerName

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of MyPageCompany
NameDescriptionTypeAdditional information
id

integer

None.

externalId

string

None.

customerNo

integer

None.

companyNo

string

None.

name

string

None.

address1

string

None.

address2

string

None.

address3

string

None.

address4

string

None.

postalNo

string

None.

postalArea

string

None.

emailAddress

string

None.

phone

string

None.

mobilePhone

string

None.

documentDeliveryMethod1

integer

None.

autoInvoiceEmailAddress

string

None.

personId

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "externalId": "sample string 2",
    "customerNo": 3,
    "companyNo": "sample string 4",
    "name": "sample string 5",
    "address1": "sample string 6",
    "address2": "sample string 7",
    "address3": "sample string 8",
    "address4": "sample string 9",
    "postalNo": "sample string 10",
    "postalArea": "sample string 11",
    "emailAddress": "sample string 12",
    "phone": "sample string 13",
    "mobilePhone": "sample string 14",
    "documentDeliveryMethod1": 1,
    "autoInvoiceEmailAddress": "sample string 15",
    "personId": "sample string 16"
  },
  {
    "id": 1,
    "externalId": "sample string 2",
    "customerNo": 3,
    "companyNo": "sample string 4",
    "name": "sample string 5",
    "address1": "sample string 6",
    "address2": "sample string 7",
    "address3": "sample string 8",
    "address4": "sample string 9",
    "postalNo": "sample string 10",
    "postalArea": "sample string 11",
    "emailAddress": "sample string 12",
    "phone": "sample string 13",
    "mobilePhone": "sample string 14",
    "documentDeliveryMethod1": 1,
    "autoInvoiceEmailAddress": "sample string 15",
    "personId": "sample string 16"
  }
]

application/xml, text/xml

Sample:
<ArrayOfMyPageCompany xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <MyPageCompany>
    <id>1</id>
    <externalId>sample string 2</externalId>
    <customerNo>3</customerNo>
    <companyNo>sample string 4</companyNo>
    <name>sample string 5</name>
    <address1>sample string 6</address1>
    <address2>sample string 7</address2>
    <address3>sample string 8</address3>
    <address4>sample string 9</address4>
    <postalNo>sample string 10</postalNo>
    <postalArea>sample string 11</postalArea>
    <emailAddress>sample string 12</emailAddress>
    <phone>sample string 13</phone>
    <mobilePhone>sample string 14</mobilePhone>
    <documentDeliveryMethod1>1</documentDeliveryMethod1>
    <autoInvoiceEmailAddress>sample string 15</autoInvoiceEmailAddress>
    <personId>sample string 16</personId>
  </MyPageCompany>
  <MyPageCompany>
    <id>1</id>
    <externalId>sample string 2</externalId>
    <customerNo>3</customerNo>
    <companyNo>sample string 4</companyNo>
    <name>sample string 5</name>
    <address1>sample string 6</address1>
    <address2>sample string 7</address2>
    <address3>sample string 8</address3>
    <address4>sample string 9</address4>
    <postalNo>sample string 10</postalNo>
    <postalArea>sample string 11</postalArea>
    <emailAddress>sample string 12</emailAddress>
    <phone>sample string 13</phone>
    <mobilePhone>sample string 14</mobilePhone>
    <documentDeliveryMethod1>1</documentDeliveryMethod1>
    <autoInvoiceEmailAddress>sample string 15</autoInvoiceEmailAddress>
    <personId>sample string 16</personId>
  </MyPageCompany>
</ArrayOfMyPageCompany>