POST api/WorkRequests/mobileworkrequestsmaterial
Request Information
URI Parameters
None.
Body Parameters
MobileWorkRequestMaterialName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
ItemID | integer |
None. |
|
WrID | integer |
None. |
|
WarehouseID | integer |
None. |
|
MaterialDate | string |
None. |
|
Quantity | integer |
None. |
|
UnitPrice | decimal number |
None. |
|
Comments | string |
None. |
|
WarehouseDescription | string |
None. |
|
StockNo | string |
None. |
|
StockDescription | string |
None. |
|
MaterialTypeID | integer |
None. |
|
AccountID | integer |
None. |
|
IsActive | boolean |
None. |
|
UserName | string |
None. |
|
LastChanged | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": 1, "ItemID": 1, "WrID": 2, "WarehouseID": 1, "MaterialDate": "sample string 3", "Quantity": 4, "UnitPrice": 1.0, "Comments": "sample string 5", "WarehouseDescription": "sample string 6", "StockNo": "sample string 7", "StockDescription": "sample string 8", "MaterialTypeID": 9, "AccountID": 10, "IsActive": true, "UserName": "sample string 12", "LastChanged": "2025-04-03T08:39:51.1494964Z" }
application/xml, text/xml
Sample:
<MobileWorkRequestMaterial xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aramark.ISIS.Domain.Models"> <AccountID>10</AccountID> <Comments>sample string 5</Comments> <ID>1</ID> <IsActive>true</IsActive> <ItemID>1</ItemID> <LastChanged>2025-04-03T08:39:51.1494964+00:00</LastChanged> <MaterialDate>sample string 3</MaterialDate> <MaterialTypeID>9</MaterialTypeID> <Quantity>4</Quantity> <StockDescription>sample string 8</StockDescription> <StockNo>sample string 7</StockNo> <UnitPrice>1</UnitPrice> <UserName>sample string 12</UserName> <WarehouseDescription>sample string 6</WarehouseDescription> <WarehouseID>1</WarehouseID> <WrID>2</WrID> </MobileWorkRequestMaterial>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of MobileSaveResultName | Description | Type | Additional information |
---|---|---|---|
OldID | integer |
None. |
|
NewID | integer |
None. |
|
OldNumber | string |
None. |
|
NewNumber | string |
None. |
|
Message | string |
None. |
|
Type | string |
None. |
|
IsError | boolean |
None. |
|
AccountID | integer |
None. |
|
BuildingID | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "OldID": 1, "NewID": 2, "OldNumber": "sample string 3", "NewNumber": "sample string 4", "Message": "sample string 5", "Type": "sample string 6", "IsError": true, "AccountID": 8, "BuildingID": 9 }, { "OldID": 1, "NewID": 2, "OldNumber": "sample string 3", "NewNumber": "sample string 4", "Message": "sample string 5", "Type": "sample string 6", "IsError": true, "AccountID": 8, "BuildingID": 9 } ]
application/xml, text/xml
Sample:
<ArrayOfMobileSaveResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aramark.ISIS.Domain.Models"> <MobileSaveResult> <AccountID>8</AccountID> <BuildingID>9</BuildingID> <IsError>true</IsError> <Message>sample string 5</Message> <NewID>2</NewID> <NewNumber>sample string 4</NewNumber> <OldID>1</OldID> <OldNumber>sample string 3</OldNumber> <Type>sample string 6</Type> </MobileSaveResult> <MobileSaveResult> <AccountID>8</AccountID> <BuildingID>9</BuildingID> <IsError>true</IsError> <Message>sample string 5</Message> <NewID>2</NewID> <NewNumber>sample string 4</NewNumber> <OldID>1</OldID> <OldNumber>sample string 3</OldNumber> <Type>sample string 6</Type> </MobileSaveResult> </ArrayOfMobileSaveResult>