POST api/worker/GetAllToWebSite

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of WorkerViewModelToWebSite
NameDescriptionTypeAdditional information
WorkerId

integer

None.

ManagerId

integer

None.

BusinessName

string

None.

Name

string

None.

ImageUrl

string

None.

IsActive

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "WorkerId": 1,
    "ManagerId": 2,
    "BusinessName": "sample string 3",
    "Name": "sample string 4",
    "ImageUrl": "sample string 5",
    "IsActive": true
  },
  {
    "WorkerId": 1,
    "ManagerId": 2,
    "BusinessName": "sample string 3",
    "Name": "sample string 4",
    "ImageUrl": "sample string 5",
    "IsActive": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfWorkerViewModelToWebSite xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SpinToWin.Models.ViewModel">
  <WorkerViewModelToWebSite>
    <BusinessName>sample string 3</BusinessName>
    <ImageUrl>sample string 5</ImageUrl>
    <IsActive>true</IsActive>
    <ManagerId>2</ManagerId>
    <Name>sample string 4</Name>
    <WorkerId>1</WorkerId>
  </WorkerViewModelToWebSite>
  <WorkerViewModelToWebSite>
    <BusinessName>sample string 3</BusinessName>
    <ImageUrl>sample string 5</ImageUrl>
    <IsActive>true</IsActive>
    <ManagerId>2</ManagerId>
    <Name>sample string 4</Name>
    <WorkerId>1</WorkerId>
  </WorkerViewModelToWebSite>
</ArrayOfWorkerViewModelToWebSite>