GET Subscriber/{subscriberId}/CartUsers/Staff?EarnsCommissions={EarnsCommissions}&ReceivesTips={ReceivesTips}&IsSalesRep={IsSalesRep}

Searches for staff that are usable in carting actions (is either a sales rep, earns commissions, and/or can receive tips).

Request Information

URI Parameters

NameDescriptionTypeAdditional information
EarnsCommissions

boolean

None.

ReceivesTips

boolean

None.

IsSalesRep

boolean

None.

subscriberId

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of StaffUser
NameDescriptionTypeAdditional information
Id

integer

None.

DisplayName

string

None.

FirstName

string

None.

LastName

string

None.

LocationRestrictions

Collection of SubscriberLocation

None.

IsSalesRep

boolean

None.

EarnsCommissions

boolean

None.

ReceivesTips

boolean

None.

GenderIsMale

boolean

None.

Bio

string

None.

Nickname

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "DisplayName": "sample string 2",
    "FirstName": "sample string 3",
    "LastName": "sample string 4",
    "LocationRestrictions": [
      {
        "Id": 1,
        "Name": "sample string 2",
        "Active": true,
        "City": "sample string 4",
        "StateOrProvinceCode": "sample string 5",
        "CountryCode": "sample string 6",
        "AddressLine1": "sample string 7",
        "AddressLine2": "sample string 8",
        "PostalCode": "sample string 9",
        "Latitude": 1.1,
        "Longitude": 1.1,
        "Phone": "sample string 10",
        "MasterLocationId": 1,
        "InventoryEnabled": true
      },
      {
        "Id": 1,
        "Name": "sample string 2",
        "Active": true,
        "City": "sample string 4",
        "StateOrProvinceCode": "sample string 5",
        "CountryCode": "sample string 6",
        "AddressLine1": "sample string 7",
        "AddressLine2": "sample string 8",
        "PostalCode": "sample string 9",
        "Latitude": 1.1,
        "Longitude": 1.1,
        "Phone": "sample string 10",
        "MasterLocationId": 1,
        "InventoryEnabled": true
      }
    ],
    "IsSalesRep": true,
    "EarnsCommissions": true,
    "ReceivesTips": true,
    "GenderIsMale": true,
    "Bio": "sample string 9",
    "Nickname": "sample string 10"
  },
  {
    "Id": 1,
    "DisplayName": "sample string 2",
    "FirstName": "sample string 3",
    "LastName": "sample string 4",
    "LocationRestrictions": [
      {
        "Id": 1,
        "Name": "sample string 2",
        "Active": true,
        "City": "sample string 4",
        "StateOrProvinceCode": "sample string 5",
        "CountryCode": "sample string 6",
        "AddressLine1": "sample string 7",
        "AddressLine2": "sample string 8",
        "PostalCode": "sample string 9",
        "Latitude": 1.1,
        "Longitude": 1.1,
        "Phone": "sample string 10",
        "MasterLocationId": 1,
        "InventoryEnabled": true
      },
      {
        "Id": 1,
        "Name": "sample string 2",
        "Active": true,
        "City": "sample string 4",
        "StateOrProvinceCode": "sample string 5",
        "CountryCode": "sample string 6",
        "AddressLine1": "sample string 7",
        "AddressLine2": "sample string 8",
        "PostalCode": "sample string 9",
        "Latitude": 1.1,
        "Longitude": 1.1,
        "Phone": "sample string 10",
        "MasterLocationId": 1,
        "InventoryEnabled": true
      }
    ],
    "IsSalesRep": true,
    "EarnsCommissions": true,
    "ReceivesTips": true,
    "GenderIsMale": true,
    "Bio": "sample string 9",
    "Nickname": "sample string 10"
  }
]

application/xml, text/xml

Sample:
<ArrayOfStaffUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Marketplace.Models.Users">
  <StaffUser>
    <Bio>sample string 9</Bio>
    <DisplayName>sample string 2</DisplayName>
    <EarnsCommissions>true</EarnsCommissions>
    <FirstName>sample string 3</FirstName>
    <GenderIsMale>true</GenderIsMale>
    <Id>1</Id>
    <IsSalesRep>true</IsSalesRep>
    <LastName>sample string 4</LastName>
    <LocationRestrictions xmlns:d3p1="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Marketplace.Models.Configuration">
      <d3p1:SubscriberLocation>
        <d3p1:Active>true</d3p1:Active>
        <d3p1:AddressLine1>sample string 7</d3p1:AddressLine1>
        <d3p1:AddressLine2>sample string 8</d3p1:AddressLine2>
        <d3p1:City>sample string 4</d3p1:City>
        <d3p1:CountryCode>sample string 6</d3p1:CountryCode>
        <d3p1:Id>1</d3p1:Id>
        <d3p1:InventoryEnabled>true</d3p1:InventoryEnabled>
        <d3p1:Latitude>1.1</d3p1:Latitude>
        <d3p1:Longitude>1.1</d3p1:Longitude>
        <d3p1:MasterLocationId>1</d3p1:MasterLocationId>
        <d3p1:Name>sample string 2</d3p1:Name>
        <d3p1:Phone>sample string 10</d3p1:Phone>
        <d3p1:PostalCode>sample string 9</d3p1:PostalCode>
        <d3p1:StateOrProvinceCode>sample string 5</d3p1:StateOrProvinceCode>
      </d3p1:SubscriberLocation>
      <d3p1:SubscriberLocation>
        <d3p1:Active>true</d3p1:Active>
        <d3p1:AddressLine1>sample string 7</d3p1:AddressLine1>
        <d3p1:AddressLine2>sample string 8</d3p1:AddressLine2>
        <d3p1:City>sample string 4</d3p1:City>
        <d3p1:CountryCode>sample string 6</d3p1:CountryCode>
        <d3p1:Id>1</d3p1:Id>
        <d3p1:InventoryEnabled>true</d3p1:InventoryEnabled>
        <d3p1:Latitude>1.1</d3p1:Latitude>
        <d3p1:Longitude>1.1</d3p1:Longitude>
        <d3p1:MasterLocationId>1</d3p1:MasterLocationId>
        <d3p1:Name>sample string 2</d3p1:Name>
        <d3p1:Phone>sample string 10</d3p1:Phone>
        <d3p1:PostalCode>sample string 9</d3p1:PostalCode>
        <d3p1:StateOrProvinceCode>sample string 5</d3p1:StateOrProvinceCode>
      </d3p1:SubscriberLocation>
    </LocationRestrictions>
    <Nickname>sample string 10</Nickname>
    <ReceivesTips>true</ReceivesTips>
  </StaffUser>
  <StaffUser>
    <Bio>sample string 9</Bio>
    <DisplayName>sample string 2</DisplayName>
    <EarnsCommissions>true</EarnsCommissions>
    <FirstName>sample string 3</FirstName>
    <GenderIsMale>true</GenderIsMale>
    <Id>1</Id>
    <IsSalesRep>true</IsSalesRep>
    <LastName>sample string 4</LastName>
    <LocationRestrictions xmlns:d3p1="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Marketplace.Models.Configuration">
      <d3p1:SubscriberLocation>
        <d3p1:Active>true</d3p1:Active>
        <d3p1:AddressLine1>sample string 7</d3p1:AddressLine1>
        <d3p1:AddressLine2>sample string 8</d3p1:AddressLine2>
        <d3p1:City>sample string 4</d3p1:City>
        <d3p1:CountryCode>sample string 6</d3p1:CountryCode>
        <d3p1:Id>1</d3p1:Id>
        <d3p1:InventoryEnabled>true</d3p1:InventoryEnabled>
        <d3p1:Latitude>1.1</d3p1:Latitude>
        <d3p1:Longitude>1.1</d3p1:Longitude>
        <d3p1:MasterLocationId>1</d3p1:MasterLocationId>
        <d3p1:Name>sample string 2</d3p1:Name>
        <d3p1:Phone>sample string 10</d3p1:Phone>
        <d3p1:PostalCode>sample string 9</d3p1:PostalCode>
        <d3p1:StateOrProvinceCode>sample string 5</d3p1:StateOrProvinceCode>
      </d3p1:SubscriberLocation>
      <d3p1:SubscriberLocation>
        <d3p1:Active>true</d3p1:Active>
        <d3p1:AddressLine1>sample string 7</d3p1:AddressLine1>
        <d3p1:AddressLine2>sample string 8</d3p1:AddressLine2>
        <d3p1:City>sample string 4</d3p1:City>
        <d3p1:CountryCode>sample string 6</d3p1:CountryCode>
        <d3p1:Id>1</d3p1:Id>
        <d3p1:InventoryEnabled>true</d3p1:InventoryEnabled>
        <d3p1:Latitude>1.1</d3p1:Latitude>
        <d3p1:Longitude>1.1</d3p1:Longitude>
        <d3p1:MasterLocationId>1</d3p1:MasterLocationId>
        <d3p1:Name>sample string 2</d3p1:Name>
        <d3p1:Phone>sample string 10</d3p1:Phone>
        <d3p1:PostalCode>sample string 9</d3p1:PostalCode>
        <d3p1:StateOrProvinceCode>sample string 5</d3p1:StateOrProvinceCode>
      </d3p1:SubscriberLocation>
    </LocationRestrictions>
    <Nickname>sample string 10</Nickname>
    <ReceivesTips>true</ReceivesTips>
  </StaffUser>
</ArrayOfStaffUser>