GET api/EquipmentLease/Begin/Lease/Query?depotid={depotid}&categorycode={categorycode}&keystr={keystr}&hasonly={hasonly}&haspriceonly={haspriceonly}
查询某些条件下可以租赁的装备和套餐的清单。
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
depotid | string |
Required |
|
categorycode |
类别代码 |
string |
Default value is |
keystr | string |
Default value is |
|
hasonly | string |
Default value is 0 |
|
haspriceonly | string |
Default value is 0 |
Body Parameters
None.
Response Information
Resource Description
查询某些条件下可以租赁的装备和套餐的清单。
CommonOperationResultWithTagOfEquipmentLeaseAbleQueryResultName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | EquipmentLeaseAbleQueryResult |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": { "Equipments": [ { "CalulationMode": "sample string 1", "Price": 2.0, "LeaseUnitTime": 3, "TimeoutGrace": 4, "CalulationMode2": "sample string 5", "Price2": 6.0, "LeaseUnitTime2": 7, "MaxLeaseTime": 8, "RepentTime": 9, "LeasePriceDescription": "sample string 10", "DepotAmount": 11.0, "EquipmentID": 12, "EquipmentName": "sample string 13", "IndexCode": "sample string 14", "EquipmentType": "sample string 15", "CategoryCode": "sample string 16", "Unit": "sample string 17", "ManagementMode": "sample string 18", "InsideValue": 19.0, "Deposit": 20.0, "EquipmentStatus": "sample string 21", "BarCodes": "sample string 22", "Specs": "sample string 23", "ProducingAreas": "sample string 24", "QualityStandards": "sample string 25", "BuiltDescription": "sample string 26", "Image": "QEA=" }, { "CalulationMode": "sample string 1", "Price": 2.0, "LeaseUnitTime": 3, "TimeoutGrace": 4, "CalulationMode2": "sample string 5", "Price2": 6.0, "LeaseUnitTime2": 7, "MaxLeaseTime": 8, "RepentTime": 9, "LeasePriceDescription": "sample string 10", "DepotAmount": 11.0, "EquipmentID": 12, "EquipmentName": "sample string 13", "IndexCode": "sample string 14", "EquipmentType": "sample string 15", "CategoryCode": "sample string 16", "Unit": "sample string 17", "ManagementMode": "sample string 18", "InsideValue": 19.0, "Deposit": 20.0, "EquipmentStatus": "sample string 21", "BarCodes": "sample string 22", "Specs": "sample string 23", "ProducingAreas": "sample string 24", "QualityStandards": "sample string 25", "BuiltDescription": "sample string 26", "Image": "QEA=" } ], "Packages": [ { "PackageID": "sample string 1", "PackageName": "sample string 2", "PackageAccount": 64, "StartDate": "sample string 4", "EndDate": "sample string 5", "StartTime": "sample string 6", "EndTime": "sample string 7", "Equipments": [ { "CalulationMode": "sample string 1", "Price": 2.0, "LeaseUnitTime": 3, "TimeoutGrace": 4, "CalulationMode2": "sample string 5", "Price2": 6.0, "LeaseUnitTime2": 7, "MaxLeaseTime": 8, "RepentTime": 9, "LeasePriceDescription": "sample string 10", "DepotAmount": 11.0, "EquipmentID": 12, "EquipmentName": "sample string 13", "IndexCode": "sample string 14", "EquipmentType": "sample string 15", "CategoryCode": "sample string 16", "Unit": "sample string 17", "ManagementMode": "sample string 18", "InsideValue": 19.0, "Deposit": 20.0, "EquipmentStatus": "sample string 21", "BarCodes": "sample string 22", "Specs": "sample string 23", "ProducingAreas": "sample string 24", "QualityStandards": "sample string 25", "BuiltDescription": "sample string 26", "Image": "QEA=" }, { "CalulationMode": "sample string 1", "Price": 2.0, "LeaseUnitTime": 3, "TimeoutGrace": 4, "CalulationMode2": "sample string 5", "Price2": 6.0, "LeaseUnitTime2": 7, "MaxLeaseTime": 8, "RepentTime": 9, "LeasePriceDescription": "sample string 10", "DepotAmount": 11.0, "EquipmentID": 12, "EquipmentName": "sample string 13", "IndexCode": "sample string 14", "EquipmentType": "sample string 15", "CategoryCode": "sample string 16", "Unit": "sample string 17", "ManagementMode": "sample string 18", "InsideValue": 19.0, "Deposit": 20.0, "EquipmentStatus": "sample string 21", "BarCodes": "sample string 22", "Specs": "sample string 23", "ProducingAreas": "sample string 24", "QualityStandards": "sample string 25", "BuiltDescription": "sample string 26", "Image": "QEA=" } ] }, { "PackageID": "sample string 1", "PackageName": "sample string 2", "PackageAccount": 64, "StartDate": "sample string 4", "EndDate": "sample string 5", "StartTime": "sample string 6", "EndTime": "sample string 7", "Equipments": [ { "CalulationMode": "sample string 1", "Price": 2.0, "LeaseUnitTime": 3, "TimeoutGrace": 4, "CalulationMode2": "sample string 5", "Price2": 6.0, "LeaseUnitTime2": 7, "MaxLeaseTime": 8, "RepentTime": 9, "LeasePriceDescription": "sample string 10", "DepotAmount": 11.0, "EquipmentID": 12, "EquipmentName": "sample string 13", "IndexCode": "sample string 14", "EquipmentType": "sample string 15", "CategoryCode": "sample string 16", "Unit": "sample string 17", "ManagementMode": "sample string 18", "InsideValue": 19.0, "Deposit": 20.0, "EquipmentStatus": "sample string 21", "BarCodes": "sample string 22", "Specs": "sample string 23", "ProducingAreas": "sample string 24", "QualityStandards": "sample string 25", "BuiltDescription": "sample string 26", "Image": "QEA=" }, { "CalulationMode": "sample string 1", "Price": 2.0, "LeaseUnitTime": 3, "TimeoutGrace": 4, "CalulationMode2": "sample string 5", "Price2": 6.0, "LeaseUnitTime2": 7, "MaxLeaseTime": 8, "RepentTime": 9, "LeasePriceDescription": "sample string 10", "DepotAmount": 11.0, "EquipmentID": 12, "EquipmentName": "sample string 13", "IndexCode": "sample string 14", "EquipmentType": "sample string 15", "CategoryCode": "sample string 16", "Unit": "sample string 17", "ManagementMode": "sample string 18", "InsideValue": 19.0, "Deposit": 20.0, "EquipmentStatus": "sample string 21", "BarCodes": "sample string 22", "Specs": "sample string 23", "ProducingAreas": "sample string 24", "QualityStandards": "sample string 25", "BuiltDescription": "sample string 26", "Image": "QEA=" } ] } ] } }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfEquipmentLeaseAbleQueryResultCATwYjks xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer"> <errcode>1</errcode> <errmsg>sample string 2</errmsg> <tag xmlns:d2p1="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Result.EquipmentLease"> <d2p1:Equipments> <d2p1:EquipmentLeaseAbleResult> <d2p1:BarCodes>sample string 22</d2p1:BarCodes> <d2p1:BuiltDescription>sample string 26</d2p1:BuiltDescription> <d2p1:CategoryCode>sample string 16</d2p1:CategoryCode> <d2p1:Deposit>20</d2p1:Deposit> <d2p1:EquipmentID>12</d2p1:EquipmentID> <d2p1:EquipmentName>sample string 13</d2p1:EquipmentName> <d2p1:EquipmentStatus>sample string 21</d2p1:EquipmentStatus> <d2p1:EquipmentType>sample string 15</d2p1:EquipmentType> <d2p1:Image>QEA=</d2p1:Image> <d2p1:IndexCode>sample string 14</d2p1:IndexCode> <d2p1:InsideValue>19</d2p1:InsideValue> <d2p1:ManagementMode>sample string 18</d2p1:ManagementMode> <d2p1:ProducingAreas>sample string 24</d2p1:ProducingAreas> <d2p1:QualityStandards>sample string 25</d2p1:QualityStandards> <d2p1:Specs>sample string 23</d2p1:Specs> <d2p1:Unit>sample string 17</d2p1:Unit> <d2p1:CalulationMode>sample string 1</d2p1:CalulationMode> <d2p1:CalulationMode2>sample string 5</d2p1:CalulationMode2> <d2p1:DepotAmount>11</d2p1:DepotAmount> <d2p1:LeasePriceDescription>sample string 10</d2p1:LeasePriceDescription> <d2p1:LeaseUnitTime>3</d2p1:LeaseUnitTime> <d2p1:LeaseUnitTime2>7</d2p1:LeaseUnitTime2> <d2p1:MaxLeaseTime>8</d2p1:MaxLeaseTime> <d2p1:Price>2</d2p1:Price> <d2p1:Price2>6</d2p1:Price2> <d2p1:RepentTime>9</d2p1:RepentTime> <d2p1:TimeoutGrace>4</d2p1:TimeoutGrace> </d2p1:EquipmentLeaseAbleResult> <d2p1:EquipmentLeaseAbleResult> <d2p1:BarCodes>sample string 22</d2p1:BarCodes> <d2p1:BuiltDescription>sample string 26</d2p1:BuiltDescription> <d2p1:CategoryCode>sample string 16</d2p1:CategoryCode> <d2p1:Deposit>20</d2p1:Deposit> <d2p1:EquipmentID>12</d2p1:EquipmentID> <d2p1:EquipmentName>sample string 13</d2p1:EquipmentName> <d2p1:EquipmentStatus>sample string 21</d2p1:EquipmentStatus> <d2p1:EquipmentType>sample string 15</d2p1:EquipmentType> <d2p1:Image>QEA=</d2p1:Image> <d2p1:IndexCode>sample string 14</d2p1:IndexCode> <d2p1:InsideValue>19</d2p1:InsideValue> <d2p1:ManagementMode>sample string 18</d2p1:ManagementMode> <d2p1:ProducingAreas>sample string 24</d2p1:ProducingAreas> <d2p1:QualityStandards>sample string 25</d2p1:QualityStandards> <d2p1:Specs>sample string 23</d2p1:Specs> <d2p1:Unit>sample string 17</d2p1:Unit> <d2p1:CalulationMode>sample string 1</d2p1:CalulationMode> <d2p1:CalulationMode2>sample string 5</d2p1:CalulationMode2> <d2p1:DepotAmount>11</d2p1:DepotAmount> <d2p1:LeasePriceDescription>sample string 10</d2p1:LeasePriceDescription> <d2p1:LeaseUnitTime>3</d2p1:LeaseUnitTime> <d2p1:LeaseUnitTime2>7</d2p1:LeaseUnitTime2> <d2p1:MaxLeaseTime>8</d2p1:MaxLeaseTime> <d2p1:Price>2</d2p1:Price> <d2p1:Price2>6</d2p1:Price2> <d2p1:RepentTime>9</d2p1:RepentTime> <d2p1:TimeoutGrace>4</d2p1:TimeoutGrace> </d2p1:EquipmentLeaseAbleResult> </d2p1:Equipments> <d2p1:Packages> <d2p1:EquipmentPackageLeaseAbleResult> <d2p1:EndDate>sample string 5</d2p1:EndDate> <d2p1:EndTime>sample string 7</d2p1:EndTime> <d2p1:Equipments> <d2p1:EquipmentLeaseAbleResult> <d2p1:BarCodes>sample string 22</d2p1:BarCodes> <d2p1:BuiltDescription>sample string 26</d2p1:BuiltDescription> <d2p1:CategoryCode>sample string 16</d2p1:CategoryCode> <d2p1:Deposit>20</d2p1:Deposit> <d2p1:EquipmentID>12</d2p1:EquipmentID> <d2p1:EquipmentName>sample string 13</d2p1:EquipmentName> <d2p1:EquipmentStatus>sample string 21</d2p1:EquipmentStatus> <d2p1:EquipmentType>sample string 15</d2p1:EquipmentType> <d2p1:Image>QEA=</d2p1:Image> <d2p1:IndexCode>sample string 14</d2p1:IndexCode> <d2p1:InsideValue>19</d2p1:InsideValue> <d2p1:ManagementMode>sample string 18</d2p1:ManagementMode> <d2p1:ProducingAreas>sample string 24</d2p1:ProducingAreas> <d2p1:QualityStandards>sample string 25</d2p1:QualityStandards> <d2p1:Specs>sample string 23</d2p1:Specs> <d2p1:Unit>sample string 17</d2p1:Unit> <d2p1:CalulationMode>sample string 1</d2p1:CalulationMode> <d2p1:CalulationMode2>sample string 5</d2p1:CalulationMode2> <d2p1:DepotAmount>11</d2p1:DepotAmount> <d2p1:LeasePriceDescription>sample string 10</d2p1:LeasePriceDescription> <d2p1:LeaseUnitTime>3</d2p1:LeaseUnitTime> <d2p1:LeaseUnitTime2>7</d2p1:LeaseUnitTime2> <d2p1:MaxLeaseTime>8</d2p1:MaxLeaseTime> <d2p1:Price>2</d2p1:Price> <d2p1:Price2>6</d2p1:Price2> <d2p1:RepentTime>9</d2p1:RepentTime> <d2p1:TimeoutGrace>4</d2p1:TimeoutGrace> </d2p1:EquipmentLeaseAbleResult> <d2p1:EquipmentLeaseAbleResult> <d2p1:BarCodes>sample string 22</d2p1:BarCodes> <d2p1:BuiltDescription>sample string 26</d2p1:BuiltDescription> <d2p1:CategoryCode>sample string 16</d2p1:CategoryCode> <d2p1:Deposit>20</d2p1:Deposit> <d2p1:EquipmentID>12</d2p1:EquipmentID> <d2p1:EquipmentName>sample string 13</d2p1:EquipmentName> <d2p1:EquipmentStatus>sample string 21</d2p1:EquipmentStatus> <d2p1:EquipmentType>sample string 15</d2p1:EquipmentType> <d2p1:Image>QEA=</d2p1:Image> <d2p1:IndexCode>sample string 14</d2p1:IndexCode> <d2p1:InsideValue>19</d2p1:InsideValue> <d2p1:ManagementMode>sample string 18</d2p1:ManagementMode> <d2p1:ProducingAreas>sample string 24</d2p1:ProducingAreas> <d2p1:QualityStandards>sample string 25</d2p1:QualityStandards> <d2p1:Specs>sample string 23</d2p1:Specs> <d2p1:Unit>sample string 17</d2p1:Unit> <d2p1:CalulationMode>sample string 1</d2p1:CalulationMode> <d2p1:CalulationMode2>sample string 5</d2p1:CalulationMode2> <d2p1:DepotAmount>11</d2p1:DepotAmount> <d2p1:LeasePriceDescription>sample string 10</d2p1:LeasePriceDescription> <d2p1:LeaseUnitTime>3</d2p1:LeaseUnitTime> <d2p1:LeaseUnitTime2>7</d2p1:LeaseUnitTime2> <d2p1:MaxLeaseTime>8</d2p1:MaxLeaseTime> <d2p1:Price>2</d2p1:Price> <d2p1:Price2>6</d2p1:Price2> <d2p1:RepentTime>9</d2p1:RepentTime> <d2p1:TimeoutGrace>4</d2p1:TimeoutGrace> </d2p1:EquipmentLeaseAbleResult> </d2p1:Equipments> <d2p1:PackageAccount>64</d2p1:PackageAccount> <d2p1:PackageID>sample string 1</d2p1:PackageID> <d2p1:PackageName>sample string 2</d2p1:PackageName> <d2p1:StartDate>sample string 4</d2p1:StartDate> <d2p1:StartTime>sample string 6</d2p1:StartTime> </d2p1:EquipmentPackageLeaseAbleResult> <d2p1:EquipmentPackageLeaseAbleResult> <d2p1:EndDate>sample string 5</d2p1:EndDate> <d2p1:EndTime>sample string 7</d2p1:EndTime> <d2p1:Equipments> <d2p1:EquipmentLeaseAbleResult> <d2p1:BarCodes>sample string 22</d2p1:BarCodes> <d2p1:BuiltDescription>sample string 26</d2p1:BuiltDescription> <d2p1:CategoryCode>sample string 16</d2p1:CategoryCode> <d2p1:Deposit>20</d2p1:Deposit> <d2p1:EquipmentID>12</d2p1:EquipmentID> <d2p1:EquipmentName>sample string 13</d2p1:EquipmentName> <d2p1:EquipmentStatus>sample string 21</d2p1:EquipmentStatus> <d2p1:EquipmentType>sample string 15</d2p1:EquipmentType> <d2p1:Image>QEA=</d2p1:Image> <d2p1:IndexCode>sample string 14</d2p1:IndexCode> <d2p1:InsideValue>19</d2p1:InsideValue> <d2p1:ManagementMode>sample string 18</d2p1:ManagementMode> <d2p1:ProducingAreas>sample string 24</d2p1:ProducingAreas> <d2p1:QualityStandards>sample string 25</d2p1:QualityStandards> <d2p1:Specs>sample string 23</d2p1:Specs> <d2p1:Unit>sample string 17</d2p1:Unit> <d2p1:CalulationMode>sample string 1</d2p1:CalulationMode> <d2p1:CalulationMode2>sample string 5</d2p1:CalulationMode2> <d2p1:DepotAmount>11</d2p1:DepotAmount> <d2p1:LeasePriceDescription>sample string 10</d2p1:LeasePriceDescription> <d2p1:LeaseUnitTime>3</d2p1:LeaseUnitTime> <d2p1:LeaseUnitTime2>7</d2p1:LeaseUnitTime2> <d2p1:MaxLeaseTime>8</d2p1:MaxLeaseTime> <d2p1:Price>2</d2p1:Price> <d2p1:Price2>6</d2p1:Price2> <d2p1:RepentTime>9</d2p1:RepentTime> <d2p1:TimeoutGrace>4</d2p1:TimeoutGrace> </d2p1:EquipmentLeaseAbleResult> <d2p1:EquipmentLeaseAbleResult> <d2p1:BarCodes>sample string 22</d2p1:BarCodes> <d2p1:BuiltDescription>sample string 26</d2p1:BuiltDescription> <d2p1:CategoryCode>sample string 16</d2p1:CategoryCode> <d2p1:Deposit>20</d2p1:Deposit> <d2p1:EquipmentID>12</d2p1:EquipmentID> <d2p1:EquipmentName>sample string 13</d2p1:EquipmentName> <d2p1:EquipmentStatus>sample string 21</d2p1:EquipmentStatus> <d2p1:EquipmentType>sample string 15</d2p1:EquipmentType> <d2p1:Image>QEA=</d2p1:Image> <d2p1:IndexCode>sample string 14</d2p1:IndexCode> <d2p1:InsideValue>19</d2p1:InsideValue> <d2p1:ManagementMode>sample string 18</d2p1:ManagementMode> <d2p1:ProducingAreas>sample string 24</d2p1:ProducingAreas> <d2p1:QualityStandards>sample string 25</d2p1:QualityStandards> <d2p1:Specs>sample string 23</d2p1:Specs> <d2p1:Unit>sample string 17</d2p1:Unit> <d2p1:CalulationMode>sample string 1</d2p1:CalulationMode> <d2p1:CalulationMode2>sample string 5</d2p1:CalulationMode2> <d2p1:DepotAmount>11</d2p1:DepotAmount> <d2p1:LeasePriceDescription>sample string 10</d2p1:LeasePriceDescription> <d2p1:LeaseUnitTime>3</d2p1:LeaseUnitTime> <d2p1:LeaseUnitTime2>7</d2p1:LeaseUnitTime2> <d2p1:MaxLeaseTime>8</d2p1:MaxLeaseTime> <d2p1:Price>2</d2p1:Price> <d2p1:Price2>6</d2p1:Price2> <d2p1:RepentTime>9</d2p1:RepentTime> <d2p1:TimeoutGrace>4</d2p1:TimeoutGrace> </d2p1:EquipmentLeaseAbleResult> </d2p1:Equipments> <d2p1:PackageAccount>64</d2p1:PackageAccount> <d2p1:PackageID>sample string 1</d2p1:PackageID> <d2p1:PackageName>sample string 2</d2p1:PackageName> <d2p1:StartDate>sample string 4</d2p1:StartDate> <d2p1:StartTime>sample string 6</d2p1:StartTime> </d2p1:EquipmentPackageLeaseAbleResult> </d2p1:Packages> </tag> </CommonOperationResultWithTagOfEquipmentLeaseAbleQueryResultCATwYjks>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.