Next4Me
 All Classes Files Functions Variables
Application_Model_AssetProperty
AssetProperty.addEditAssetProperty
AssetProperty nou:
REQ:
{
"method": "addEditAssetProperty",
"entity": {
"IdAssetProperty": 0,
"IdAsset": 16,
"Name": "Un nou AssetProperty",
"PropertyValue": "2.00",
"PropertyString": "string",
"PropertyDate": "2010-09-09 19:43:33",
"PropertyType": 2
}
}
RESP:
{
"resultId": 0,
"resultCode": "49"
}
Edit AssetProperty:
REQ:
{
"method": "addEditAssetProperty",
"entity": {
"IdAssetProperty": 49,
"IdAsset": 16,
"Name": "Un nou AssetProperty Editat",
"PropertyValue": "2.00",
"PropertyString": "string",
"PropertyDate": "2010-09-09 19:43:33",
"PropertyType": 2
}
}
RESP:
{
"resultId": 0,
"resultCode": "49"
}
--------------------------------------------------------------------------------------------------------------
AssetProperty.deleteAssetProperty
Stergere AssetProperty:
REQ:
{
"method": "deleteAssetProperty",
"entity": {
"IdAssetProperty": "49",
"IdAsset": "0"
}
}
RESP:
{
"resultId": 0,
"resultCode": "Date Sterse"
}
--------------------------------------------------------------------------------------------------------------
AssetProperty.getAssetProperty
Listare informatii AssetProperty:
REQ:
{
"method": "getAssetProperty",
"entity": {
"IdAssetProperty": "49",
"IdAsset": "16",
"pageNo": "1",
"pageSize": "10",
"orderColumn": "IdAssetProperty",
"orderType": "DESC"
}
}
RESP:
{
"resultId": 0,
"resultCode": {
"pageNo": "1",
"pageSize": "10",
"pageCount": 1,
"orderColumn": "IdAssetProperty",
"orderType": "DESC",
"entity": [
{
"IdAssetProperty": 49,
"IdAsset": 16,
"Name": "Un nou AssetProperty",
"PropertyValue": "2.00",
"PropertyString": "string",
"PropertyDate": "2010-09-09 19:43:33",
"PropertyType": 2
}
]
}
}
--------------------------------------------------------------------------------------------------------------