POST api/EmployeeCostCenterAssignments/AddEmployeeCostCenterAssignments

Request Information

URI Parameters

None.

Body Parameters

EmployeesCostCenterAssignments
NameDescriptionTypeAdditional information
EmployeeCostCenterAssignments

Collection of EmployeeCostCenterAssignments

None.

Request Formats

application/xml, text/xml

Sample:
<EmployeesCostCenterAssignments xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <EmployeeCostCenterAssignments>
    <EmployeeID>sample string 1</EmployeeID>
    <JobPositionID>sample string 2</JobPositionID>
    <CostCenter>sample string 3</CostCenter>
    <CostDriver>sample string 4</CostDriver>
    <Analytics1ID>sample string 5</Analytics1ID>
    <Analytics2ID>sample string 6</Analytics2ID>
    <Analytics3ID>sample string 7</Analytics3ID>
    <ItemNumber>1</ItemNumber>
    <FundingPercent>1</FundingPercent>
  </EmployeeCostCenterAssignments>
  <EmployeeCostCenterAssignments>
    <EmployeeID>sample string 1</EmployeeID>
    <JobPositionID>sample string 2</JobPositionID>
    <CostCenter>sample string 3</CostCenter>
    <CostDriver>sample string 4</CostDriver>
    <Analytics1ID>sample string 5</Analytics1ID>
    <Analytics2ID>sample string 6</Analytics2ID>
    <Analytics3ID>sample string 7</Analytics3ID>
    <ItemNumber>1</ItemNumber>
    <FundingPercent>1</FundingPercent>
  </EmployeeCostCenterAssignments>
</EmployeesCostCenterAssignments>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CreateResultWithDocumentsKeys
NameDescriptionTypeAdditional information
Rows

Collection of DocumentKeys

None.

ResultCode

ExternalResultCode

None.

Errors

Collection of ErrorWithKeys

None.

Response Formats

application/xml, text/xml

Sample:
<CreateResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Rows>
    <DocumentKeys>
      <Keys>
        <Key>
          <Name>sample string 1</Name>
          <Value>sample string 2</Value>
        </Key>
        <Key>
          <Name>sample string 1</Name>
          <Value>sample string 2</Value>
        </Key>
      </Keys>
    </DocumentKeys>
    <DocumentKeys>
      <Keys>
        <Key>
          <Name>sample string 1</Name>
          <Value>sample string 2</Value>
        </Key>
        <Key>
          <Name>sample string 1</Name>
          <Value>sample string 2</Value>
        </Key>
      </Keys>
    </DocumentKeys>
  </Rows>
  <ResultCode>None</ResultCode>
  <Errors>
    <Error>
      <Level>Warning</Level>
      <Message>sample string 1</Message>
      <Keys>
        <Key>
          <Name>sample string 1</Name>
          <Value>sample string 2</Value>
        </Key>
        <Key>
          <Name>sample string 1</Name>
          <Value>sample string 2</Value>
        </Key>
      </Keys>
    </Error>
    <Error>
      <Level>Warning</Level>
      <Message>sample string 1</Message>
      <Keys>
        <Key>
          <Name>sample string 1</Name>
          <Value>sample string 2</Value>
        </Key>
        <Key>
          <Name>sample string 1</Name>
          <Value>sample string 2</Value>
        </Key>
      </Keys>
    </Error>
  </Errors>
</CreateResult>