POST api/Employee/AddJobAssignment

Request Information

URI Parameters

None.

Body Parameters

RequestMigrationDTOOfImportAssignmentDTO
NameDescriptionTypeAdditional information
Data

Collection of ImportAssignmentDTO

Required

Request Formats

application/json, text/json

Sample:
{
  "Data": [
    {
      "AgencyName": "sample string 1",
      "ClientCode": "sample string 2",
      "HREmpId": "sample string 3",
      "PayMethod": "sample string 4",
      "EffectiveDate": "sample string 5",
      "AsgmtStartDate": "sample string 6",
      "AsgmtEndDate": "sample string 7",
      "AssignmentNo": "sample string 8",
      "PayRate": "sample string 9",
      "BillRateType": "sample string 10",
      "MarkupPercent": "sample string 11",
      "OTMarkupPercent": "sample string 12",
      "OT2MarkupPercent": "sample string 13",
      "RegFlatBillRate": "sample string 14",
      "OT1FlatBillRate": "sample string 15",
      "OT2FlatBillRate": "sample string 16",
      "Department": "sample string 18",
      "Level1": "sample string 19",
      "Level2": "sample string 20",
      "Level3": "sample string 21",
      "Level4": "sample string 22",
      "StartTime": "sample string 23",
      "EndTime": "sample string 24",
      "ExtJobOrderId": "sample string 25",
      "PayCategory": [
        {
          "Name": "sample string 1",
          "Value": "sample string 2"
        },
        {
          "Name": "sample string 1",
          "Value": "sample string 2"
        }
      ],
      "CustomProperty": [
        {
          "Name": "sample string 1",
          "Value": "sample string 2"
        },
        {
          "Name": "sample string 1",
          "Value": "sample string 2"
        }
      ],
      "IsCompensation": "sample string 44"
    },
    {
      "AgencyName": "sample string 1",
      "ClientCode": "sample string 2",
      "HREmpId": "sample string 3",
      "PayMethod": "sample string 4",
      "EffectiveDate": "sample string 5",
      "AsgmtStartDate": "sample string 6",
      "AsgmtEndDate": "sample string 7",
      "AssignmentNo": "sample string 8",
      "PayRate": "sample string 9",
      "BillRateType": "sample string 10",
      "MarkupPercent": "sample string 11",
      "OTMarkupPercent": "sample string 12",
      "OT2MarkupPercent": "sample string 13",
      "RegFlatBillRate": "sample string 14",
      "OT1FlatBillRate": "sample string 15",
      "OT2FlatBillRate": "sample string 16",
      "Department": "sample string 18",
      "Level1": "sample string 19",
      "Level2": "sample string 20",
      "Level3": "sample string 21",
      "Level4": "sample string 22",
      "StartTime": "sample string 23",
      "EndTime": "sample string 24",
      "ExtJobOrderId": "sample string 25",
      "PayCategory": [
        {
          "Name": "sample string 1",
          "Value": "sample string 2"
        },
        {
          "Name": "sample string 1",
          "Value": "sample string 2"
        }
      ],
      "CustomProperty": [
        {
          "Name": "sample string 1",
          "Value": "sample string 2"
        },
        {
          "Name": "sample string 1",
          "Value": "sample string 2"
        }
      ],
      "IsCompensation": "sample string 44"
    }
  ]
}

application/xml, text/xml

Sample:
<RequestMigrationDTOOfImportAssignmentDTOSCYCXOcO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WurkNowDTO">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/WurkNowDTO.TLM">
    <d2p1:ImportAssignmentDTO>
      <d2p1:AgencyName>sample string 1</d2p1:AgencyName>
      <d2p1:AsgmtEndDate>sample string 7</d2p1:AsgmtEndDate>
      <d2p1:AsgmtEndDateVal>2026-02-04T01:33:56.1162369-08:00</d2p1:AsgmtEndDateVal>
      <d2p1:AsgmtEndTime>1</d2p1:AsgmtEndTime>
      <d2p1:AsgmtStartDate>sample string 6</d2p1:AsgmtStartDate>
      <d2p1:AsgmtStartDateVal>2026-02-04T01:33:56.1162369-08:00</d2p1:AsgmtStartDateVal>
      <d2p1:AsgmtStartTime>1</d2p1:AsgmtStartTime>
      <d2p1:AssignmentNo>sample string 8</d2p1:AssignmentNo>
      <d2p1:AssignmentNoVal>sample string 34</d2p1:AssignmentNoVal>
      <d2p1:BillRateType>sample string 10</d2p1:BillRateType>
      <d2p1:BillRateTypeVal>36</d2p1:BillRateTypeVal>
      <d2p1:ClientCode>sample string 2</d2p1:ClientCode>
      <d2p1:ClientId>30</d2p1:ClientId>
      <d2p1:ClientName>sample string 26</d2p1:ClientName>
      <d2p1:CustomProperty>
        <AsgmtCustomPropertyDTO>
          <JobTempAsgmtCustDataId>4</JobTempAsgmtCustDataId>
          <JobTempAsgmtId>5</JobTempAsgmtId>
          <Name>sample string 1</Name>
          <PropType>3</PropType>
          <Value>sample string 2</Value>
        </AsgmtCustomPropertyDTO>
        <AsgmtCustomPropertyDTO>
          <JobTempAsgmtCustDataId>4</JobTempAsgmtCustDataId>
          <JobTempAsgmtId>5</JobTempAsgmtId>
          <Name>sample string 1</Name>
          <PropType>3</PropType>
          <Value>sample string 2</Value>
        </AsgmtCustomPropertyDTO>
      </d2p1:CustomProperty>
      <d2p1:Department>sample string 18</d2p1:Department>
      <d2p1:DepartmentId>1</d2p1:DepartmentId>
      <d2p1:EffectiveDate>sample string 5</d2p1:EffectiveDate>
      <d2p1:EffectiveDateVal>2026-02-04T01:33:56.1162369-08:00</d2p1:EffectiveDateVal>
      <d2p1:EndTime>sample string 24</d2p1:EndTime>
      <d2p1:ExtJobOrderId>sample string 25</d2p1:ExtJobOrderId>
      <d2p1:HREmpId>sample string 3</d2p1:HREmpId>
      <d2p1:IsCompensation>sample string 44</d2p1:IsCompensation>
      <d2p1:IsOngoingAsgmt>true</d2p1:IsOngoingAsgmt>
      <d2p1:IsUseAsgmt>true</d2p1:IsUseAsgmt>
      <d2p1:JobTempAsgmtId>29</d2p1:JobTempAsgmtId>
      <d2p1:Level1>sample string 19</d2p1:Level1>
      <d2p1:Level2>sample string 20</d2p1:Level2>
      <d2p1:Level3>sample string 21</d2p1:Level3>
      <d2p1:Level4>sample string 22</d2p1:Level4>
      <d2p1:LevelId1>1</d2p1:LevelId1>
      <d2p1:LevelId2>1</d2p1:LevelId2>
      <d2p1:LevelId3>1</d2p1:LevelId3>
      <d2p1:LevelId4>1</d2p1:LevelId4>
      <d2p1:MarkupPercent>sample string 11</d2p1:MarkupPercent>
      <d2p1:MarkupPercentVal>37</d2p1:MarkupPercentVal>
      <d2p1:OT1FlatBillRate>sample string 15</d2p1:OT1FlatBillRate>
      <d2p1:OT1FlatBillRateVal>41</d2p1:OT1FlatBillRateVal>
      <d2p1:OT2FlatBillRate>sample string 16</d2p1:OT2FlatBillRate>
      <d2p1:OT2FlatBillRateVal>42</d2p1:OT2FlatBillRateVal>
      <d2p1:OT2MarkupPercent>sample string 13</d2p1:OT2MarkupPercent>
      <d2p1:OT2MarkupPercentVal>39</d2p1:OT2MarkupPercentVal>
      <d2p1:OTMarkupPercent>sample string 12</d2p1:OTMarkupPercent>
      <d2p1:OTMarkupPercentVal>38</d2p1:OTMarkupPercentVal>
      <d2p1:PayCategory>
        <AsgmtCustomPropertyDTO>
          <JobTempAsgmtCustDataId>4</JobTempAsgmtCustDataId>
          <JobTempAsgmtId>5</JobTempAsgmtId>
          <Name>sample string 1</Name>
          <PropType>3</PropType>
          <Value>sample string 2</Value>
        </AsgmtCustomPropertyDTO>
        <AsgmtCustomPropertyDTO>
          <JobTempAsgmtCustDataId>4</JobTempAsgmtCustDataId>
          <JobTempAsgmtId>5</JobTempAsgmtId>
          <Name>sample string 1</Name>
          <PropType>3</PropType>
          <Value>sample string 2</Value>
        </AsgmtCustomPropertyDTO>
      </d2p1:PayCategory>
      <d2p1:PayMethod>sample string 4</d2p1:PayMethod>
      <d2p1:PayMethodVal>32</d2p1:PayMethodVal>
      <d2p1:PayRate>sample string 9</d2p1:PayRate>
      <d2p1:PayRateVal>35</d2p1:PayRateVal>
      <d2p1:RegFlatBillRate>sample string 14</d2p1:RegFlatBillRate>
      <d2p1:RegFlatBillRateVal>40</d2p1:RegFlatBillRateVal>
      <d2p1:StartTime>sample string 23</d2p1:StartTime>
      <d2p1:TlmShiftId>1</d2p1:TlmShiftId>
      <d2p1:UseAssignmentId>sample string 17</d2p1:UseAssignmentId>
      <d2p1:UserId>28</d2p1:UserId>
      <d2p1:WorkerId>31</d2p1:WorkerId>
    </d2p1:ImportAssignmentDTO>
    <d2p1:ImportAssignmentDTO>
      <d2p1:AgencyName>sample string 1</d2p1:AgencyName>
      <d2p1:AsgmtEndDate>sample string 7</d2p1:AsgmtEndDate>
      <d2p1:AsgmtEndDateVal>2026-02-04T01:33:56.1162369-08:00</d2p1:AsgmtEndDateVal>
      <d2p1:AsgmtEndTime>1</d2p1:AsgmtEndTime>
      <d2p1:AsgmtStartDate>sample string 6</d2p1:AsgmtStartDate>
      <d2p1:AsgmtStartDateVal>2026-02-04T01:33:56.1162369-08:00</d2p1:AsgmtStartDateVal>
      <d2p1:AsgmtStartTime>1</d2p1:AsgmtStartTime>
      <d2p1:AssignmentNo>sample string 8</d2p1:AssignmentNo>
      <d2p1:AssignmentNoVal>sample string 34</d2p1:AssignmentNoVal>
      <d2p1:BillRateType>sample string 10</d2p1:BillRateType>
      <d2p1:BillRateTypeVal>36</d2p1:BillRateTypeVal>
      <d2p1:ClientCode>sample string 2</d2p1:ClientCode>
      <d2p1:ClientId>30</d2p1:ClientId>
      <d2p1:ClientName>sample string 26</d2p1:ClientName>
      <d2p1:CustomProperty>
        <AsgmtCustomPropertyDTO>
          <JobTempAsgmtCustDataId>4</JobTempAsgmtCustDataId>
          <JobTempAsgmtId>5</JobTempAsgmtId>
          <Name>sample string 1</Name>
          <PropType>3</PropType>
          <Value>sample string 2</Value>
        </AsgmtCustomPropertyDTO>
        <AsgmtCustomPropertyDTO>
          <JobTempAsgmtCustDataId>4</JobTempAsgmtCustDataId>
          <JobTempAsgmtId>5</JobTempAsgmtId>
          <Name>sample string 1</Name>
          <PropType>3</PropType>
          <Value>sample string 2</Value>
        </AsgmtCustomPropertyDTO>
      </d2p1:CustomProperty>
      <d2p1:Department>sample string 18</d2p1:Department>
      <d2p1:DepartmentId>1</d2p1:DepartmentId>
      <d2p1:EffectiveDate>sample string 5</d2p1:EffectiveDate>
      <d2p1:EffectiveDateVal>2026-02-04T01:33:56.1162369-08:00</d2p1:EffectiveDateVal>
      <d2p1:EndTime>sample string 24</d2p1:EndTime>
      <d2p1:ExtJobOrderId>sample string 25</d2p1:ExtJobOrderId>
      <d2p1:HREmpId>sample string 3</d2p1:HREmpId>
      <d2p1:IsCompensation>sample string 44</d2p1:IsCompensation>
      <d2p1:IsOngoingAsgmt>true</d2p1:IsOngoingAsgmt>
      <d2p1:IsUseAsgmt>true</d2p1:IsUseAsgmt>
      <d2p1:JobTempAsgmtId>29</d2p1:JobTempAsgmtId>
      <d2p1:Level1>sample string 19</d2p1:Level1>
      <d2p1:Level2>sample string 20</d2p1:Level2>
      <d2p1:Level3>sample string 21</d2p1:Level3>
      <d2p1:Level4>sample string 22</d2p1:Level4>
      <d2p1:LevelId1>1</d2p1:LevelId1>
      <d2p1:LevelId2>1</d2p1:LevelId2>
      <d2p1:LevelId3>1</d2p1:LevelId3>
      <d2p1:LevelId4>1</d2p1:LevelId4>
      <d2p1:MarkupPercent>sample string 11</d2p1:MarkupPercent>
      <d2p1:MarkupPercentVal>37</d2p1:MarkupPercentVal>
      <d2p1:OT1FlatBillRate>sample string 15</d2p1:OT1FlatBillRate>
      <d2p1:OT1FlatBillRateVal>41</d2p1:OT1FlatBillRateVal>
      <d2p1:OT2FlatBillRate>sample string 16</d2p1:OT2FlatBillRate>
      <d2p1:OT2FlatBillRateVal>42</d2p1:OT2FlatBillRateVal>
      <d2p1:OT2MarkupPercent>sample string 13</d2p1:OT2MarkupPercent>
      <d2p1:OT2MarkupPercentVal>39</d2p1:OT2MarkupPercentVal>
      <d2p1:OTMarkupPercent>sample string 12</d2p1:OTMarkupPercent>
      <d2p1:OTMarkupPercentVal>38</d2p1:OTMarkupPercentVal>
      <d2p1:PayCategory>
        <AsgmtCustomPropertyDTO>
          <JobTempAsgmtCustDataId>4</JobTempAsgmtCustDataId>
          <JobTempAsgmtId>5</JobTempAsgmtId>
          <Name>sample string 1</Name>
          <PropType>3</PropType>
          <Value>sample string 2</Value>
        </AsgmtCustomPropertyDTO>
        <AsgmtCustomPropertyDTO>
          <JobTempAsgmtCustDataId>4</JobTempAsgmtCustDataId>
          <JobTempAsgmtId>5</JobTempAsgmtId>
          <Name>sample string 1</Name>
          <PropType>3</PropType>
          <Value>sample string 2</Value>
        </AsgmtCustomPropertyDTO>
      </d2p1:PayCategory>
      <d2p1:PayMethod>sample string 4</d2p1:PayMethod>
      <d2p1:PayMethodVal>32</d2p1:PayMethodVal>
      <d2p1:PayRate>sample string 9</d2p1:PayRate>
      <d2p1:PayRateVal>35</d2p1:PayRateVal>
      <d2p1:RegFlatBillRate>sample string 14</d2p1:RegFlatBillRate>
      <d2p1:RegFlatBillRateVal>40</d2p1:RegFlatBillRateVal>
      <d2p1:StartTime>sample string 23</d2p1:StartTime>
      <d2p1:TlmShiftId>1</d2p1:TlmShiftId>
      <d2p1:UseAssignmentId>sample string 17</d2p1:UseAssignmentId>
      <d2p1:UserId>28</d2p1:UserId>
      <d2p1:WorkerId>31</d2p1:WorkerId>
    </d2p1:ImportAssignmentDTO>
  </Data>
</RequestMigrationDTOOfImportAssignmentDTOSCYCXOcO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseDTO
NameDescriptionTypeAdditional information
Data

Collection of ResponseImportDTO

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": [
    {
      "ID": "sample string 1",
      "Message": [
        "sample string 1",
        "sample string 2"
      ]
    },
    {
      "ID": "sample string 1",
      "Message": [
        "sample string 1",
        "sample string 2"
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<ResponseDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WurkNowDTO">
  <Data>
    <ResponseImportDTO>
      <ID>sample string 1</ID>
      <Message xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </Message>
      <Valid>true</Valid>
    </ResponseImportDTO>
    <ResponseImportDTO>
      <ID>sample string 1</ID>
      <Message xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </Message>
      <Valid>true</Valid>
    </ResponseImportDTO>
  </Data>
</ResponseDTO>