GET api/v1/McdStaff/StaffByCountry?countryid={countryid}

Query McDonald's staff information for a specific country.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
countryid

integer

Required

Body Parameters

None.

Response Information

Resource Description

McdStaffObjs
NameDescriptionTypeAdditional information
staff

Collection of APIMcdStaffModel

None.

Response Formats

application/json, text/json

Sample:
{
  "staff": [
    {
      "mcdstaffid": 1,
      "employeeid": 2,
      "employeename": "sample string 3",
      "position": "sample string 4",
      "storeid": "b818fc75-e7b2-48d3-a945-2eaa741fffb5"
    },
    {
      "mcdstaffid": 1,
      "employeeid": 2,
      "employeename": "sample string 3",
      "position": "sample string 4",
      "storeid": "b818fc75-e7b2-48d3-a945-2eaa741fffb5"
    }
  ]
}

application/xml, text/xml

Sample:
<McdStaffObjs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/nfuels_api.Controllers">
  <staff xmlns:d2p1="http://schemas.datacontract.org/2004/07/nfuels_api.Models">
    <d2p1:APIMcdStaffModel>
      <d2p1:employeeid>2</d2p1:employeeid>
      <d2p1:employeename>sample string 3</d2p1:employeename>
      <d2p1:mcdstaffid>1</d2p1:mcdstaffid>
      <d2p1:position>sample string 4</d2p1:position>
      <d2p1:storeid>b818fc75-e7b2-48d3-a945-2eaa741fffb5</d2p1:storeid>
    </d2p1:APIMcdStaffModel>
    <d2p1:APIMcdStaffModel>
      <d2p1:employeeid>2</d2p1:employeeid>
      <d2p1:employeename>sample string 3</d2p1:employeename>
      <d2p1:mcdstaffid>1</d2p1:mcdstaffid>
      <d2p1:position>sample string 4</d2p1:position>
      <d2p1:storeid>b818fc75-e7b2-48d3-a945-2eaa741fffb5</d2p1:storeid>
    </d2p1:APIMcdStaffModel>
  </staff>
</McdStaffObjs>