POST SaveAssetMovementAPI?databaseKey={databaseKey}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
databaseKey

string

Required

Body Parameters

AssetMovement_BO
NameDescriptionTypeAdditional information
Sp_SqlAction

string

None.

MovementID

integer

None.

MovementDocNo

string

None.

MovementDate

date

None.

MovementReason

string

None.

FromLocation

string

None.

ToLocationId

integer

None.

ToLocation

string

None.

IsReturnable

boolean

None.

ExpectedReturnDate

date

None.

AuthOrderNo

string

None.

TransportMode

string

None.

MovedByID

integer

None.

MovedBy

string

None.

AuthorizedByID

integer

None.

AuthorizedBy

string

None.

AssetId

integer

None.

AssetName

string

None.

ConditionNotes

string

None.

GeneralNotes

string

None.

UserName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Sp_SqlAction": "sample string 1",
  "MovementID": 2,
  "MovementDocNo": "sample string 3",
  "MovementDate": "2025-12-06T09:31:40.3626697+05:30",
  "MovementReason": "sample string 5",
  "FromLocation": "sample string 6",
  "ToLocationId": 7,
  "ToLocation": "sample string 8",
  "IsReturnable": true,
  "ExpectedReturnDate": "2025-12-06T09:31:40.3626697+05:30",
  "AuthOrderNo": "sample string 10",
  "TransportMode": "sample string 11",
  "MovedByID": 12,
  "MovedBy": "sample string 13",
  "AuthorizedByID": 14,
  "AuthorizedBy": "sample string 15",
  "AssetId": 16,
  "AssetName": "sample string 17",
  "ConditionNotes": "sample string 18",
  "GeneralNotes": "sample string 19",
  "UserName": "sample string 20"
}

application/xml, text/xml

Sample:
<AssetMovement_BO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rx2025_Api.Controllers">
  <AssetId>16</AssetId>
  <AssetName>sample string 17</AssetName>
  <AuthOrderNo>sample string 10</AuthOrderNo>
  <AuthorizedBy>sample string 15</AuthorizedBy>
  <AuthorizedByID>14</AuthorizedByID>
  <ConditionNotes>sample string 18</ConditionNotes>
  <ExpectedReturnDate>2025-12-06T09:31:40.3626697+05:30</ExpectedReturnDate>
  <FromLocation>sample string 6</FromLocation>
  <GeneralNotes>sample string 19</GeneralNotes>
  <IsReturnable>true</IsReturnable>
  <MovedBy>sample string 13</MovedBy>
  <MovedByID>12</MovedByID>
  <MovementDate>2025-12-06T09:31:40.3626697+05:30</MovementDate>
  <MovementDocNo>sample string 3</MovementDocNo>
  <MovementID>2</MovementID>
  <MovementReason>sample string 5</MovementReason>
  <Sp_SqlAction>sample string 1</Sp_SqlAction>
  <ToLocation>sample string 8</ToLocation>
  <ToLocationId>7</ToLocationId>
  <TransportMode>sample string 11</TransportMode>
  <UserName>sample string 20</UserName>
</AssetMovement_BO>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AssetMovement_BO'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.