POST api/TravelOrders/AddTravelOrders

Request Information

URI Parameters

None.

Body Parameters

TravelOrders
NameDescriptionTypeAdditional information
TravelOrder

Collection of TravelOrder

None.

Request Formats

application/xml, text/xml

Sample:
<TravelOrders xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <TravelOrder>
    <TravelOrderYear>1</TravelOrderYear>
    <TravelOrderNumber>2</TravelOrderNumber>
    <CustomerID>sample string 3</CustomerID>
    <CostCenterID>sample string 4</CostCenterID>
    <CostDriverID>sample string 5</CostDriverID>
    <ClercID>sample string 6</ClercID>
    <WorkOrder>sample string 7</WorkOrder>
    <IssueDate>2024-06-25T19:44:26.5993485+02:00</IssueDate>
    <EmployeeID>sample string 8</EmployeeID>
    <EmployeeName>sample string 9</EmployeeName>
    <IssuerID>sample string 10</IssuerID>
    <IssuerName>sample string 11</IssuerName>
    <ItineraryID>sample string 12</ItineraryID>
    <ItineraryName>sample string 13</ItineraryName>
    <TaskID>sample string 14</TaskID>
    <TaskName>sample string 15</TaskName>
    <EstimatedDepartureTime>2024-06-25T19:44:26.5993485+02:00</EstimatedDepartureTime>
    <EstimatedArrivalTime>2024-06-25T19:44:26.5993485+02:00</EstimatedArrivalTime>
    <AuthorizedUseOf>sample string 16</AuthorizedUseOf>
    <VehicleID>sample string 17</VehicleID>
    <RequesterID>sample string 18</RequesterID>
    <RequesterName>sample string 19</RequesterName>
    <ActualDepartureTime>2024-06-25T19:44:26.5993485+02:00</ActualDepartureTime>
    <ActualArrivalTime>2024-06-25T19:44:26.5993485+02:00</ActualArrivalTime>
    <AdvanceDate>2024-06-25T19:44:26.5993485+02:00</AdvanceDate>
    <BillingDate>2024-06-25T19:44:26.5993485+02:00</BillingDate>
    <AdvanceAmount>1</AdvanceAmount>
    <BilledAmount>1</BilledAmount>
    <TransferToDKDate>2024-06-25T19:44:26.5993485+02:00</TransferToDKDate>
    <Footnote>sample string 20</Footnote>
    <AdditionalDescription>sample string 21</AdditionalDescription>
    <AnnexDescription>sample string 22</AnnexDescription>
    <OtherDescription>sample string 23</OtherDescription>
    <PlateNumberProposal>sample string 24</PlateNumberProposal>
    <PlateNumberApproved>sample string 25</PlateNumberApproved>
    <EstimatedKM>1</EstimatedKM>
    <AllowanceAmount>1</AllowanceAmount>
    <SpecialAllowance>1</SpecialAllowance>
    <TOType>sample string 26</TOType>
    <TripReport>sample string 27</TripReport>
    <ApprovedVehicleID>sample string 28</ApprovedVehicleID>
    <ItineraryDescription>sample string 29</ItineraryDescription>
    <DepartureKMReading>1</DepartureKMReading>
    <ArrivalKMReading>1</ArrivalKMReading>
    <BillingByID>sample string 30</BillingByID>
    <PaymentApprovedByID>sample string 31</PaymentApprovedByID>
    <TransferToOPZDate>2024-06-25T19:44:26.5993485+02:00</TransferToOPZDate>
    <EventStartDate>2024-06-25T19:44:26.5993485+02:00</EventStartDate>
    <EventEndDate>2024-06-25T19:44:26.5993485+02:00</EventEndDate>
    <CostID>sample string 32</CostID>
    <CurrencyID>sample string 33</CurrencyID>
    <CancellationDate>2024-06-25T19:44:26.5993485+02:00</CancellationDate>
    <HomeCurrencyID>sample string 34</HomeCurrencyID>
    <MonthlyOrder>sample string 35</MonthlyOrder>
    <MonthOrder>1</MonthOrder>
    <RegulationAmount>1</RegulationAmount>
    <Attachment>sample string 36</Attachment>
    <TransferToEPDate>2024-06-25T19:44:26.5993485+02:00</TransferToEPDate>
    <EducationID>sample string 37</EducationID>
    <ExamID>sample string 38</ExamID>
    <TransferToPPDate>2024-06-25T19:44:26.5993485+02:00</TransferToPPDate>
    <TransferToEKDate>2024-06-25T19:44:26.5993485+02:00</TransferToEKDate>
    <KMCostID>sample string 39</KMCostID>
    <TransferToREKDate>2024-06-25T19:44:26.5993485+02:00</TransferToREKDate>
    <Analytics1ID>sample string 40</Analytics1ID>
    <Analytics2ID>sample string 41</Analytics2ID>
    <Analytics3ID>sample string 42</Analytics3ID>
    <StatusID>sample string 43</StatusID>
    <BillingDocID>sample string 44</BillingDocID>
    <AnnexDocID>sample string 45</AnnexDocID>
    <TypeID>sample string 46</TypeID>
    <AdvancePayment>true</AdvancePayment>
    <RejectionDate>2024-06-25T19:44:26.5993485+02:00</RejectionDate>
    <SpecimenID>sample string 47</SpecimenID>
    <ApprovalClercID>sample string 48</ApprovalClercID>
    <ApprovalAdminID>sample string 49</ApprovalAdminID>
    <ApprovedTemplate>true</ApprovedTemplate>
    <ApprovedBilling>true</ApprovedBilling>
    <ApprovedAdvance>true</ApprovedAdvance>
  </TravelOrder>
  <TravelOrder>
    <TravelOrderYear>1</TravelOrderYear>
    <TravelOrderNumber>2</TravelOrderNumber>
    <CustomerID>sample string 3</CustomerID>
    <CostCenterID>sample string 4</CostCenterID>
    <CostDriverID>sample string 5</CostDriverID>
    <ClercID>sample string 6</ClercID>
    <WorkOrder>sample string 7</WorkOrder>
    <IssueDate>2024-06-25T19:44:26.5993485+02:00</IssueDate>
    <EmployeeID>sample string 8</EmployeeID>
    <EmployeeName>sample string 9</EmployeeName>
    <IssuerID>sample string 10</IssuerID>
    <IssuerName>sample string 11</IssuerName>
    <ItineraryID>sample string 12</ItineraryID>
    <ItineraryName>sample string 13</ItineraryName>
    <TaskID>sample string 14</TaskID>
    <TaskName>sample string 15</TaskName>
    <EstimatedDepartureTime>2024-06-25T19:44:26.5993485+02:00</EstimatedDepartureTime>
    <EstimatedArrivalTime>2024-06-25T19:44:26.5993485+02:00</EstimatedArrivalTime>
    <AuthorizedUseOf>sample string 16</AuthorizedUseOf>
    <VehicleID>sample string 17</VehicleID>
    <RequesterID>sample string 18</RequesterID>
    <RequesterName>sample string 19</RequesterName>
    <ActualDepartureTime>2024-06-25T19:44:26.5993485+02:00</ActualDepartureTime>
    <ActualArrivalTime>2024-06-25T19:44:26.5993485+02:00</ActualArrivalTime>
    <AdvanceDate>2024-06-25T19:44:26.5993485+02:00</AdvanceDate>
    <BillingDate>2024-06-25T19:44:26.5993485+02:00</BillingDate>
    <AdvanceAmount>1</AdvanceAmount>
    <BilledAmount>1</BilledAmount>
    <TransferToDKDate>2024-06-25T19:44:26.5993485+02:00</TransferToDKDate>
    <Footnote>sample string 20</Footnote>
    <AdditionalDescription>sample string 21</AdditionalDescription>
    <AnnexDescription>sample string 22</AnnexDescription>
    <OtherDescription>sample string 23</OtherDescription>
    <PlateNumberProposal>sample string 24</PlateNumberProposal>
    <PlateNumberApproved>sample string 25</PlateNumberApproved>
    <EstimatedKM>1</EstimatedKM>
    <AllowanceAmount>1</AllowanceAmount>
    <SpecialAllowance>1</SpecialAllowance>
    <TOType>sample string 26</TOType>
    <TripReport>sample string 27</TripReport>
    <ApprovedVehicleID>sample string 28</ApprovedVehicleID>
    <ItineraryDescription>sample string 29</ItineraryDescription>
    <DepartureKMReading>1</DepartureKMReading>
    <ArrivalKMReading>1</ArrivalKMReading>
    <BillingByID>sample string 30</BillingByID>
    <PaymentApprovedByID>sample string 31</PaymentApprovedByID>
    <TransferToOPZDate>2024-06-25T19:44:26.5993485+02:00</TransferToOPZDate>
    <EventStartDate>2024-06-25T19:44:26.5993485+02:00</EventStartDate>
    <EventEndDate>2024-06-25T19:44:26.5993485+02:00</EventEndDate>
    <CostID>sample string 32</CostID>
    <CurrencyID>sample string 33</CurrencyID>
    <CancellationDate>2024-06-25T19:44:26.5993485+02:00</CancellationDate>
    <HomeCurrencyID>sample string 34</HomeCurrencyID>
    <MonthlyOrder>sample string 35</MonthlyOrder>
    <MonthOrder>1</MonthOrder>
    <RegulationAmount>1</RegulationAmount>
    <Attachment>sample string 36</Attachment>
    <TransferToEPDate>2024-06-25T19:44:26.5993485+02:00</TransferToEPDate>
    <EducationID>sample string 37</EducationID>
    <ExamID>sample string 38</ExamID>
    <TransferToPPDate>2024-06-25T19:44:26.5993485+02:00</TransferToPPDate>
    <TransferToEKDate>2024-06-25T19:44:26.5993485+02:00</TransferToEKDate>
    <KMCostID>sample string 39</KMCostID>
    <TransferToREKDate>2024-06-25T19:44:26.5993485+02:00</TransferToREKDate>
    <Analytics1ID>sample string 40</Analytics1ID>
    <Analytics2ID>sample string 41</Analytics2ID>
    <Analytics3ID>sample string 42</Analytics3ID>
    <StatusID>sample string 43</StatusID>
    <BillingDocID>sample string 44</BillingDocID>
    <AnnexDocID>sample string 45</AnnexDocID>
    <TypeID>sample string 46</TypeID>
    <AdvancePayment>true</AdvancePayment>
    <RejectionDate>2024-06-25T19:44:26.5993485+02:00</RejectionDate>
    <SpecimenID>sample string 47</SpecimenID>
    <ApprovalClercID>sample string 48</ApprovalClercID>
    <ApprovalAdminID>sample string 49</ApprovalAdminID>
    <ApprovedTemplate>true</ApprovedTemplate>
    <ApprovedBilling>true</ApprovedBilling>
    <ApprovedAdvance>true</ApprovedAdvance>
  </TravelOrder>
</TravelOrders>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CreateResult
NameDescriptionTypeAdditional information
Keys

Collection of EntityKeyField

None.

ResultCode

ExternalResultCode

None.

Errors

Collection of Error

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">
  <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>
  <ResultCode>None</ResultCode>
  <Errors>
    <Error>
      <Level>Warning</Level>
      <Message>sample string 1</Message>
    </Error>
    <Error>
      <Level>Warning</Level>
      <Message>sample string 1</Message>
    </Error>
  </Errors>
</CreateResult>