| All Verbs | /CreateAsset_V3 |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| UserID | query | string | No | |
| AssetIDInternal | query | string | No | |
| asset | query | Asset | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| AssetName | body | string | Yes | Asset name. |
| AssetDescription | body | string | No | Asset description. |
| Barcode | body | string | Yes | Asset barcode. |
| AssetIDInternal | body | string | No | The internal id of the asset. Not used to save assets. |
| AssetCategoryIDInternal | body | Guid | Yes | The internal id of the asset category. See Api: FindAssetCategories. |
| LocationIDInternal | body | Guid | Yes | The internal id of the location. See Api: GetAllLocations |
| SiteIDInternal | body | Guid | Yes | The internal id of the site. See Api: FindSites. |
| PeopleIDInternal | body | Guid | No | The internal id of the people. See Api: GetAllPeople |
| AssetUsageID | body | int | Yes | The id of the asset usage. See Api: GetAssetUsage |
| AssetConditionID | body | int | Yes | The id of the asset condition. See Api: GetAssetCondition |
| AssetStatus | body | string | No | Asset status. |
| AssetSerialNo | body | string | No | Asset serial no. |
| Price | body | decimal? | No | Price. |
| PurchaseDate | body | datetime | No | Purchase date. |
| PurchaseOrderNo | body | string | No | Purchase order no. |
| Quantity | body | int | No | Quantity. |
| ShortageOverage | body | int | No | Shortage overage. |
| Vendor | body | string | No | Vendor. |
| IsActive | body | string | No | IsActive. |
| AuditDate | body | datetime | No | Audit date. |
| AuditStatus | body | string | No | Audit status. |
| Asset_UID | body | string | No | Asset uid. |
| DataGatherID | body | int | No | The id of the department. See Api: FindDepartments. |
| Mfg | body | string | No | Mfg. |
| Model | body | string | No | Model. |
| POLine | body | int | No | POLine. |
| POStatus | body | char | No | POStatus. |
| ScannerDeviceCode | body | int | No | Scanner device code. |
| DateModified | body | datetime | No | Modified date. |
| ThumbnailImage | body | byte[] | No | Thumbnail image. |
| SubLocation | body | string | No | Sublocation. |
| OriginalPartNo | body | string | No | Original part no. |
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /xml/reply/CreateAsset_V3 HTTP/1.1
Host: equipstage2.e-isg.com
Content-Type: application/xml
Content-Length: length
<CreateAsset_V3 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eQuipModel">
<AssetIDInternal>String</AssetIDInternal>
<UserID>String</UserID>
<asset>
<AssetCategoryIDInternal>String</AssetCategoryIDInternal>
<AssetConditionID>0</AssetConditionID>
<AssetDescription>String</AssetDescription>
<AssetIDInternal>String</AssetIDInternal>
<AssetName>String</AssetName>
<AssetSerialNo>String</AssetSerialNo>
<AssetStatus>String</AssetStatus>
<AssetUsageID>0</AssetUsageID>
<Asset_UID>String</Asset_UID>
<AuditDate>0001-01-01T00:00:00</AuditDate>
<AuditStatus>String</AuditStatus>
<Barcode>String</Barcode>
<DataGatherID>0</DataGatherID>
<DateModified>0001-01-01T00:00:00</DateModified>
<IsActive>String</IsActive>
<LocationIDInternal>String</LocationIDInternal>
<Mfg>String</Mfg>
<Model>String</Model>
<OriginalPartNo>String</OriginalPartNo>
<POLine>0</POLine>
<POStatus>0</POStatus>
<PeopleIDInternal>String</PeopleIDInternal>
<Price>0</Price>
<PurchaseDate>0001-01-01T00:00:00</PurchaseDate>
<PurchaseOrderNo>String</PurchaseOrderNo>
<Quantity>0</Quantity>
<ScannerDeviceCode>0</ScannerDeviceCode>
<ShortageOverage>0</ShortageOverage>
<SiteIDInternal>String</SiteIDInternal>
<SubLocation>String</SubLocation>
<ThumbnailImage>AA==</ThumbnailImage>
<Vendor>String</Vendor>
</asset>
</CreateAsset_V3>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">false</boolean>