Atom


Click here for a complete list of operations.

LaborSave

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 /atom/atom.asmx HTTP/1.1
Host: atom.joycecrane.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/LaborSave"

<?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>
    <LaborSave xmlns="http://tempuri.org/">
      <UserName>string</UserName>
      <Labor>
        <EmpId>string</EmpId>
        <EmpGroupNumb>string</EmpGroupNumb>
        <WorkDate>string</WorkDate>
        <Union>string</Union>
        <Craft>string</Craft>
        <BoomLength>string</BoomLength>
        <Shift>string</Shift>
        <Hours>string</Hours>
        <Rate>string</Rate>
        <Amount>string</Amount>
        <Job>string</Job>
        <JobLineItem>string</JobLineItem>
        <Wo>string</Wo>
        <UnitCode>string</UnitCode>
        <ActivityCode>string</ActivityCode>
        <UnitActivityId>string</UnitActivityId>
        <WoDetailId>string</WoDetailId>
        <Department>string</Department>
        <Position>string</Position>
        <BurdenCode>string</BurdenCode>
        <WorkerComp>string</WorkerComp>
        <PayBegDate>string</PayBegDate>
        <PayEndDate>string</PayEndDate>
        <WoUnitOwner>string</WoUnitOwner>
        <UnionApprenticePerc>string</UnionApprenticePerc>
        <PayType>string</PayType>
        <Classification>string</Classification>
        <Comments>string</Comments>
        <LaborDtlId>string</LaborDtlId>
        <JobTicketId>string</JobTicketId>
        <StdJobTicketHours>boolean</StdJobTicketHours>
        <WorkedThroughLunch>boolean</WorkedThroughLunch>
        <StartTime>string</StartTime>
        <StopTime>string</StopTime>
        <Billable>boolean</Billable>
        <StateTaxCode>string</StateTaxCode>
        <CityTaxCode>string</CityTaxCode>
        <Perdiem>string</Perdiem>
        <JobEmpID>string</JobEmpID>
        <Deleted>boolean</Deleted>
        <SecondaryUnits>string</SecondaryUnits>
        <StartTime_Timezone>string</StartTime_Timezone>
        <StopTime_Timezone>string</StopTime_Timezone>
        <StartTime_UtcOffset>string</StartTime_UtcOffset>
        <StopTime_UtcOffset>string</StopTime_UtcOffset>
        <ComponentCode>string</ComponentCode>
        <IsNew>boolean</IsNew>
        <IgnoreBegPayrollDate>boolean</IgnoreBegPayrollDate>
        <IgnoreEndPayrollDate>boolean</IgnoreEndPayrollDate>
        <ProjectCostCode>string</ProjectCostCode>
      </Labor>
    </LaborSave>
  </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>
    <LaborSaveResponse xmlns="http://tempuri.org/">
      <LaborSaveResult>string</LaborSaveResult>
    </LaborSaveResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

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

POST /atom/atom.asmx HTTP/1.1
Host: atom.joycecrane.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <LaborSave xmlns="http://tempuri.org/">
      <UserName>string</UserName>
      <Labor>
        <EmpId>string</EmpId>
        <EmpGroupNumb>string</EmpGroupNumb>
        <WorkDate>string</WorkDate>
        <Union>string</Union>
        <Craft>string</Craft>
        <BoomLength>string</BoomLength>
        <Shift>string</Shift>
        <Hours>string</Hours>
        <Rate>string</Rate>
        <Amount>string</Amount>
        <Job>string</Job>
        <JobLineItem>string</JobLineItem>
        <Wo>string</Wo>
        <UnitCode>string</UnitCode>
        <ActivityCode>string</ActivityCode>
        <UnitActivityId>string</UnitActivityId>
        <WoDetailId>string</WoDetailId>
        <Department>string</Department>
        <Position>string</Position>
        <BurdenCode>string</BurdenCode>
        <WorkerComp>string</WorkerComp>
        <PayBegDate>string</PayBegDate>
        <PayEndDate>string</PayEndDate>
        <WoUnitOwner>string</WoUnitOwner>
        <UnionApprenticePerc>string</UnionApprenticePerc>
        <PayType>string</PayType>
        <Classification>string</Classification>
        <Comments>string</Comments>
        <LaborDtlId>string</LaborDtlId>
        <JobTicketId>string</JobTicketId>
        <StdJobTicketHours>boolean</StdJobTicketHours>
        <WorkedThroughLunch>boolean</WorkedThroughLunch>
        <StartTime>string</StartTime>
        <StopTime>string</StopTime>
        <Billable>boolean</Billable>
        <StateTaxCode>string</StateTaxCode>
        <CityTaxCode>string</CityTaxCode>
        <Perdiem>string</Perdiem>
        <JobEmpID>string</JobEmpID>
        <Deleted>boolean</Deleted>
        <SecondaryUnits>string</SecondaryUnits>
        <StartTime_Timezone>string</StartTime_Timezone>
        <StopTime_Timezone>string</StopTime_Timezone>
        <StartTime_UtcOffset>string</StartTime_UtcOffset>
        <StopTime_UtcOffset>string</StopTime_UtcOffset>
        <ComponentCode>string</ComponentCode>
        <IsNew>boolean</IsNew>
        <IgnoreBegPayrollDate>boolean</IgnoreBegPayrollDate>
        <IgnoreEndPayrollDate>boolean</IgnoreEndPayrollDate>
        <ProjectCostCode>string</ProjectCostCode>
      </Labor>
    </LaborSave>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <LaborSaveResponse xmlns="http://tempuri.org/">
      <LaborSaveResult>string</LaborSaveResult>
    </LaborSaveResponse>
  </soap12:Body>
</soap12:Envelope>