Click or drag to resize

ServiceRouterUpdateLaborLevelDetail Method

Update a list of UpdateLaborLevelDetailModel and returns a list of UpdateLaborLevelDetailOut status structures

Namespace: AppOne.Services.V2
Assembly: AppOne.Web.Service (in AppOne.Web.Service.dll) Version: 1.0.141
Syntax
public UpdateLaborLevelDetailOut UpdateLaborLevelDetail(
	UpdateLaborLevelDetailIn input
)

Parameters

input  UpdateLaborLevelDetailIn
A new UpdateLaborLevelDetailIn object

Return Value

UpdateLaborLevelDetailOut
The newly created ID of the passed in UpdateLaborLevelDetailOut
Remarks
Adds a list of UpdateLaborLevelDetailModel and returns a list of UpdateLaborLevelDetailOut structures.
The structures give a status for each UpdateLaborLevelDetailModel passed in.

Example
JSON Request
{
    "AuthToken":${#TestSuite#Tests_Global_Token},
    "AutoAdd":true,
    "Payload":[{
        "Code":"CO",
        "CustomFields":[{
            "Name":"String_Content",
            "Value":"String_Content"
        }],
        "EmployeeNotesRequired":true,
        "EndDate":"\/Date(1578121200000-0700)\/",
        "Name":"Colorado",
        "ParentID":90,
        "StartDate":"\/Date(1262588400000-0700)\/",
        "ID":1
    }]
}
JSON Response
{
   "Report":    {
      "APIVersion": "2.0",
      "ProcessTime": "0.0845032",
      "RequestTime": "/Date(1504210624239-0700)/",
      "ResponseTime": "/Date(1504210624324-0700)/",
      "Results": 1
   },
   "Results": [   {
      "ID": 1,
      "Messages": ["Labor Level Detail successfully updated."],
      "Status": 1
   }]
}
See Also