PUT api/v1/facilities

Updates a facility This is an asynchronous service.

Request Information

URI Parameters

None.

Body Parameters

UpdateFacilityModel
NameDescriptionTypeAdditional information
FacilityId

integer

Required

Coid

string

Required

Name

string

Required

ProcessLevel

integer

None.

LawsonCompany

integer

None.

ProcessLevelContractLabor

integer

None.

LawsonCompanyContractLabor

integer

None.

CensusInterface

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "FacilityId": 1,
  "Coid": "sample string 2",
  "Name": "sample string 3",
  "ProcessLevel": 1,
  "LawsonCompany": 1,
  "ProcessLevelContractLabor": 1,
  "LawsonCompanyContractLabor": 1,
  "CensusInterface": true
}

Response Information

Resource Description

FsFacilityReturnModel

TaskOfApiResponseModelOfFacilityModel
NameDescriptionTypeAdditional information
Result

ApiResponseModelOfFacilityModel

None.

Id

integer

None.

Exception

AggregateException

None.

Status

TaskStatus

None.

IsCanceled

boolean

None.

IsCompleted

boolean

None.

CreationOptions

TaskCreationOptions

None.

AsyncState

Object

None.

IsFaulted

boolean

None.

Response Formats

application/json, text/json

Sample:

Sample not available.