POST api/Service/AddDevice
Request Information
URI Parameters
None.
Body Parameters
DevicesName | Description | Type | Additional information |
---|---|---|---|
device | Collection of Device |
None. |
Request Formats
application/xml, text/xml
Sample:
<Devices xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Device> <DeviceID>sample string 1</DeviceID> <DeviceTitle1>sample string 2</DeviceTitle1> <DeviceTitle2>sample string 3</DeviceTitle2> <IsActive>sample string 4</IsActive> <ItemID>sample string 5</ItemID> <ItemUnitOfMeas>sample string 6</ItemUnitOfMeas> <SerialNumber>sample string 7</SerialNumber> <TypeOfService>sample string 8</TypeOfService> <SupplierID>sample string 9</SupplierID> <CustomerID>sample string 10</CustomerID> <GuarantorID>sample string 11</GuarantorID> <Location>sample string 12</Location> <SaleDate>sample string 13</SaleDate> <SaleDocument>sample string 14</SaleDocument> <WarrantyExpirationDate>sample string 15</WarrantyExpirationDate> <LastServiceDate>sample string 16</LastServiceDate> <NextServiceDate>sample string 17</NextServiceDate> <ChassisNumber>sample string 18</ChassisNumber> <VehicleType>sample string 19</VehicleType> <VehicleBrand>sample string 20</VehicleBrand> <VehicleModel>sample string 21</VehicleModel> <RegistrationNumber>sample string 22</RegistrationNumber> <EngineType>sample string 23</EngineType> <ManufacturingYear>sample string 24</ManufacturingYear> <Counter>sample string 25</Counter> <EstimatedNextServiceDate>sample string 26</EstimatedNextServiceDate> <Milleage>sample string 27</Milleage> <TravelTime>sample string 28</TravelTime> <CostVisit>sample string 29</CostVisit> <OtherCosts>sample string 30</OtherCosts> <InsertedBy>sample string 31</InsertedBy> <InsertedTime>sample string 32</InsertedTime> <ModifiedBy>sample string 33</ModifiedBy> <Modifiedime>sample string 34</Modifiedime> <Document>sample string 35</Document> <DocumentDate>sample string 36</DocumentDate> <DocumentPlace>sample string 37</DocumentPlace> <ContactTypeID>sample string 38</ContactTypeID> <ContactInTypeID>sample string 39</ContactInTypeID> <RentalContactTypeID>sample string 40</RentalContactTypeID> <RentalContactInTypeID>sample string 41</RentalContactInTypeID> <FixedAssetID>sample string 42</FixedAssetID> <ContractType>sample string 43</ContractType> <ContractDate>sample string 44</ContractDate> <ContractNumber>sample string 45</ContractNumber> <BuildingPermitNumber>sample string 46</BuildingPermitNumber> <BuildingPermitDate>sample string 47</BuildingPermitDate> <BuildingPermitPlace>sample string 48</BuildingPermitPlace> <LastRentalCalculationDate>sample string 49</LastRentalCalculationDate> <CostCenterID>sample string 50</CostCenterID> <CostUnitID>sample string 51</CostUnitID> <AnalyticID>sample string 52</AnalyticID> <ClerkID>sample string 53</ClerkID> <LocationID>sample string 54</LocationID> <DepartmentID>sample string 55</DepartmentID> <DeviceGroupID>sample string 56</DeviceGroupID> <ServiceIntervalUnit>sample string 57</ServiceIntervalUnit> <ServiceInterval>sample string 58</ServiceInterval> <DeviceComponents> <DeviceComponent> <ItemNumber>sample string 1</ItemNumber> <CompItemID>sample string 2</CompItemID> <ItemUnitOfMeas>sample string 3</ItemUnitOfMeas> <ItemTitle1>sample string 4</ItemTitle1> <ItemTitle2>sample string 5</ItemTitle2> <SerialNumber>sample string 6</SerialNumber> <CompQTYWithinComp>sample string 7</CompQTYWithinComp> <InsertedBy>sample string 8</InsertedBy> <InsertedTime>sample string 9</InsertedTime> <ModifiedBy>sample string 10</ModifiedBy> <ModifiedTime>sample string 11</ModifiedTime> <NextServiceDate>sample string 12</NextServiceDate> <WarrantyExpirationDate>sample string 13</WarrantyExpirationDate> <SaleDate>sample string 14</SaleDate> <LastServiceDate>sample string 15</LastServiceDate> <SupplierID>sample string 16</SupplierID> <DeviceGroupID>sample string 17</DeviceGroupID> <ServiceIntervalUnit>sample string 18</ServiceIntervalUnit> <ServiceInterval>sample string 19</ServiceInterval> <Counter>sample string 20</Counter> </DeviceComponent> <DeviceComponent> <ItemNumber>sample string 1</ItemNumber> <CompItemID>sample string 2</CompItemID> <ItemUnitOfMeas>sample string 3</ItemUnitOfMeas> <ItemTitle1>sample string 4</ItemTitle1> <ItemTitle2>sample string 5</ItemTitle2> <SerialNumber>sample string 6</SerialNumber> <CompQTYWithinComp>sample string 7</CompQTYWithinComp> <InsertedBy>sample string 8</InsertedBy> <InsertedTime>sample string 9</InsertedTime> <ModifiedBy>sample string 10</ModifiedBy> <ModifiedTime>sample string 11</ModifiedTime> <NextServiceDate>sample string 12</NextServiceDate> <WarrantyExpirationDate>sample string 13</WarrantyExpirationDate> <SaleDate>sample string 14</SaleDate> <LastServiceDate>sample string 15</LastServiceDate> <SupplierID>sample string 16</SupplierID> <DeviceGroupID>sample string 17</DeviceGroupID> <ServiceIntervalUnit>sample string 18</ServiceIntervalUnit> <ServiceInterval>sample string 19</ServiceInterval> <Counter>sample string 20</Counter> </DeviceComponent> </DeviceComponents> </Device> <Device> <DeviceID>sample string 1</DeviceID> <DeviceTitle1>sample string 2</DeviceTitle1> <DeviceTitle2>sample string 3</DeviceTitle2> <IsActive>sample string 4</IsActive> <ItemID>sample string 5</ItemID> <ItemUnitOfMeas>sample string 6</ItemUnitOfMeas> <SerialNumber>sample string 7</SerialNumber> <TypeOfService>sample string 8</TypeOfService> <SupplierID>sample string 9</SupplierID> <CustomerID>sample string 10</CustomerID> <GuarantorID>sample string 11</GuarantorID> <Location>sample string 12</Location> <SaleDate>sample string 13</SaleDate> <SaleDocument>sample string 14</SaleDocument> <WarrantyExpirationDate>sample string 15</WarrantyExpirationDate> <LastServiceDate>sample string 16</LastServiceDate> <NextServiceDate>sample string 17</NextServiceDate> <ChassisNumber>sample string 18</ChassisNumber> <VehicleType>sample string 19</VehicleType> <VehicleBrand>sample string 20</VehicleBrand> <VehicleModel>sample string 21</VehicleModel> <RegistrationNumber>sample string 22</RegistrationNumber> <EngineType>sample string 23</EngineType> <ManufacturingYear>sample string 24</ManufacturingYear> <Counter>sample string 25</Counter> <EstimatedNextServiceDate>sample string 26</EstimatedNextServiceDate> <Milleage>sample string 27</Milleage> <TravelTime>sample string 28</TravelTime> <CostVisit>sample string 29</CostVisit> <OtherCosts>sample string 30</OtherCosts> <InsertedBy>sample string 31</InsertedBy> <InsertedTime>sample string 32</InsertedTime> <ModifiedBy>sample string 33</ModifiedBy> <Modifiedime>sample string 34</Modifiedime> <Document>sample string 35</Document> <DocumentDate>sample string 36</DocumentDate> <DocumentPlace>sample string 37</DocumentPlace> <ContactTypeID>sample string 38</ContactTypeID> <ContactInTypeID>sample string 39</ContactInTypeID> <RentalContactTypeID>sample string 40</RentalContactTypeID> <RentalContactInTypeID>sample string 41</RentalContactInTypeID> <FixedAssetID>sample string 42</FixedAssetID> <ContractType>sample string 43</ContractType> <ContractDate>sample string 44</ContractDate> <ContractNumber>sample string 45</ContractNumber> <BuildingPermitNumber>sample string 46</BuildingPermitNumber> <BuildingPermitDate>sample string 47</BuildingPermitDate> <BuildingPermitPlace>sample string 48</BuildingPermitPlace> <LastRentalCalculationDate>sample string 49</LastRentalCalculationDate> <CostCenterID>sample string 50</CostCenterID> <CostUnitID>sample string 51</CostUnitID> <AnalyticID>sample string 52</AnalyticID> <ClerkID>sample string 53</ClerkID> <LocationID>sample string 54</LocationID> <DepartmentID>sample string 55</DepartmentID> <DeviceGroupID>sample string 56</DeviceGroupID> <ServiceIntervalUnit>sample string 57</ServiceIntervalUnit> <ServiceInterval>sample string 58</ServiceInterval> <DeviceComponents> <DeviceComponent> <ItemNumber>sample string 1</ItemNumber> <CompItemID>sample string 2</CompItemID> <ItemUnitOfMeas>sample string 3</ItemUnitOfMeas> <ItemTitle1>sample string 4</ItemTitle1> <ItemTitle2>sample string 5</ItemTitle2> <SerialNumber>sample string 6</SerialNumber> <CompQTYWithinComp>sample string 7</CompQTYWithinComp> <InsertedBy>sample string 8</InsertedBy> <InsertedTime>sample string 9</InsertedTime> <ModifiedBy>sample string 10</ModifiedBy> <ModifiedTime>sample string 11</ModifiedTime> <NextServiceDate>sample string 12</NextServiceDate> <WarrantyExpirationDate>sample string 13</WarrantyExpirationDate> <SaleDate>sample string 14</SaleDate> <LastServiceDate>sample string 15</LastServiceDate> <SupplierID>sample string 16</SupplierID> <DeviceGroupID>sample string 17</DeviceGroupID> <ServiceIntervalUnit>sample string 18</ServiceIntervalUnit> <ServiceInterval>sample string 19</ServiceInterval> <Counter>sample string 20</Counter> </DeviceComponent> <DeviceComponent> <ItemNumber>sample string 1</ItemNumber> <CompItemID>sample string 2</CompItemID> <ItemUnitOfMeas>sample string 3</ItemUnitOfMeas> <ItemTitle1>sample string 4</ItemTitle1> <ItemTitle2>sample string 5</ItemTitle2> <SerialNumber>sample string 6</SerialNumber> <CompQTYWithinComp>sample string 7</CompQTYWithinComp> <InsertedBy>sample string 8</InsertedBy> <InsertedTime>sample string 9</InsertedTime> <ModifiedBy>sample string 10</ModifiedBy> <ModifiedTime>sample string 11</ModifiedTime> <NextServiceDate>sample string 12</NextServiceDate> <WarrantyExpirationDate>sample string 13</WarrantyExpirationDate> <SaleDate>sample string 14</SaleDate> <LastServiceDate>sample string 15</LastServiceDate> <SupplierID>sample string 16</SupplierID> <DeviceGroupID>sample string 17</DeviceGroupID> <ServiceIntervalUnit>sample string 18</ServiceIntervalUnit> <ServiceInterval>sample string 19</ServiceInterval> <Counter>sample string 20</Counter> </DeviceComponent> </DeviceComponents> </Device> </Devices>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CreateResultName | Description | Type | Additional 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>