PUT MaintenanceOccurrence/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
MaintenanceOccurrenceRestItemName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Cost | string |
None. |
|
Description | string |
None. |
|
FkMaintenanceTypeId | integer |
None. |
|
Discount | decimal number |
None. |
|
FkAssetId | integer |
None. |
|
LocalPurchaseOrderNumber | string |
None. |
|
MaterialReceiptInspectionVoucherNumber | string |
None. |
|
PartNumber | string |
None. |
|
Reference | string |
None. |
|
SupplierName | string |
None. |
|
Remarks | string |
None. |
|
OccurenceDate | date |
None. |
|
OccurenceEndDate | date |
None. |
|
Quantity | integer |
None. |
|
UnitPrice | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "Cost": "sample string 2", "Description": "sample string 3", "FkMaintenanceTypeId": 4, "Discount": 1.0, "FkAssetId": 5, "LocalPurchaseOrderNumber": "sample string 6", "MaterialReceiptInspectionVoucherNumber": "sample string 7", "PartNumber": "sample string 8", "Reference": "sample string 9", "SupplierName": "sample string 10", "Remarks": "sample string 11", "OccurenceDate": "2025-01-05T02:32:13.5462102+01:00", "OccurenceEndDate": "2025-01-05T02:32:13.5462102+01:00", "Quantity": 1, "UnitPrice": 1.0 }
application/xml, text/xml
Sample:
<MaintenanceOccurrenceRestItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api360.Models"> <Cost>sample string 2</Cost> <Description>sample string 3</Description> <Discount>1</Discount> <FkAssetId>5</FkAssetId> <FkMaintenanceTypeId>4</FkMaintenanceTypeId> <Id>1</Id> <LocalPurchaseOrderNumber>sample string 6</LocalPurchaseOrderNumber> <MaterialReceiptInspectionVoucherNumber>sample string 7</MaterialReceiptInspectionVoucherNumber> <OccurenceDate>2025-01-05T02:32:13.5462102+01:00</OccurenceDate> <OccurenceEndDate>2025-01-05T02:32:13.5462102+01:00</OccurenceEndDate> <PartNumber>sample string 8</PartNumber> <Quantity>1</Quantity> <Reference>sample string 9</Reference> <Remarks>sample string 11</Remarks> <SupplierName>sample string 10</SupplierName> <UnitPrice>1</UnitPrice> </MaintenanceOccurrenceRestItem>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
MaintenanceOccurrenceRestResultName | Description | Type | Additional information |
---|---|---|---|
RestItems | Collection of MaintenanceOccurrenceRestItem |
None. |
Response Formats
application/json, text/json
Sample:
{ "RestItems": [ { "Id": 1, "Cost": "sample string 2", "Description": "sample string 3", "FkMaintenanceTypeId": 4, "Discount": 1.0, "FkAssetId": 5, "LocalPurchaseOrderNumber": "sample string 6", "MaterialReceiptInspectionVoucherNumber": "sample string 7", "PartNumber": "sample string 8", "Reference": "sample string 9", "SupplierName": "sample string 10", "Remarks": "sample string 11", "OccurenceDate": "2025-01-05T02:32:13.5462102+01:00", "OccurenceEndDate": "2025-01-05T02:32:13.5462102+01:00", "Quantity": 1, "UnitPrice": 1.0 }, { "Id": 1, "Cost": "sample string 2", "Description": "sample string 3", "FkMaintenanceTypeId": 4, "Discount": 1.0, "FkAssetId": 5, "LocalPurchaseOrderNumber": "sample string 6", "MaterialReceiptInspectionVoucherNumber": "sample string 7", "PartNumber": "sample string 8", "Reference": "sample string 9", "SupplierName": "sample string 10", "Remarks": "sample string 11", "OccurenceDate": "2025-01-05T02:32:13.5462102+01:00", "OccurenceEndDate": "2025-01-05T02:32:13.5462102+01:00", "Quantity": 1, "UnitPrice": 1.0 } ] }
application/xml, text/xml
Sample:
<MaintenanceOccurrenceRestResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api360.Models"> <RestItems> <MaintenanceOccurrenceRestItem> <Cost>sample string 2</Cost> <Description>sample string 3</Description> <Discount>1</Discount> <FkAssetId>5</FkAssetId> <FkMaintenanceTypeId>4</FkMaintenanceTypeId> <Id>1</Id> <LocalPurchaseOrderNumber>sample string 6</LocalPurchaseOrderNumber> <MaterialReceiptInspectionVoucherNumber>sample string 7</MaterialReceiptInspectionVoucherNumber> <OccurenceDate>2025-01-05T02:32:13.5462102+01:00</OccurenceDate> <OccurenceEndDate>2025-01-05T02:32:13.5462102+01:00</OccurenceEndDate> <PartNumber>sample string 8</PartNumber> <Quantity>1</Quantity> <Reference>sample string 9</Reference> <Remarks>sample string 11</Remarks> <SupplierName>sample string 10</SupplierName> <UnitPrice>1</UnitPrice> </MaintenanceOccurrenceRestItem> <MaintenanceOccurrenceRestItem> <Cost>sample string 2</Cost> <Description>sample string 3</Description> <Discount>1</Discount> <FkAssetId>5</FkAssetId> <FkMaintenanceTypeId>4</FkMaintenanceTypeId> <Id>1</Id> <LocalPurchaseOrderNumber>sample string 6</LocalPurchaseOrderNumber> <MaterialReceiptInspectionVoucherNumber>sample string 7</MaterialReceiptInspectionVoucherNumber> <OccurenceDate>2025-01-05T02:32:13.5462102+01:00</OccurenceDate> <OccurenceEndDate>2025-01-05T02:32:13.5462102+01:00</OccurenceEndDate> <PartNumber>sample string 8</PartNumber> <Quantity>1</Quantity> <Reference>sample string 9</Reference> <Remarks>sample string 11</Remarks> <SupplierName>sample string 10</SupplierName> <UnitPrice>1</UnitPrice> </MaintenanceOccurrenceRestItem> </RestItems> </MaintenanceOccurrenceRestResult>