StaffLineService


Click here for a complete list of operations.

SaveMaxStaffLevels

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /TimeCareApi/stafflineservice.asmx HTTP/1.1
Host: timecarekoping.vmkfb.se
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.timecare.se/SaveMaxStaffLevels"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <SaveMaxStaffLevels xmlns="http://www.timecare.se/">
      <intIntegrationId>int</intIntegrationId>
      <item>
        <Id>int</Id>
        <Tag>string</Tag>
        <LineType>None or ActionType or Skill or MinStaff or MaxStaff or KeyP or ActivityReferenceType or Budget or HourValue or BonusTemplateTime or BonusTemplateMoney or BonusTemplatePercent or Custom</LineType>
        <WorkPlaceId>int</WorkPlaceId>
        <ArrayOfValue>
          <Value>
            <Label>string</Label>
            <WorkPlaceId>int</WorkPlaceId>
            <FromDate>dateTime</FromDate>
            <ToDate>dateTime</ToDate>
            <value>double</value>
          </Value>
          <Value>
            <Label>string</Label>
            <WorkPlaceId>int</WorkPlaceId>
            <FromDate>dateTime</FromDate>
            <ToDate>dateTime</ToDate>
            <value>double</value>
          </Value>
        </ArrayOfValue>
      </item>
    </SaveMaxStaffLevels>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <SaveMaxStaffLevelsResponse xmlns="http://www.timecare.se/">
      <SaveMaxStaffLevelsResult>boolean</SaveMaxStaffLevelsResult>
    </SaveMaxStaffLevelsResponse>
  </soap:Body>
</soap:Envelope>