Get
GEThttps://domain/api/fm-mobile/v1/c-{clientId}/p-{projectId}/products/single/{productId}
Request Parameters
| Name | Description | Required | Type |
|---|---|---|---|
| clientId | Required | string | |
| projectId | Required | string | |
| productId | Required | string |
Response
| Code | Description |
|---|---|
200 | Success. |
401 | Unauthorized. |
404 | Not Found. |
500 | Error From Server. |
Response Model
| Name | Description | Type |
|---|---|---|
| Name | string | |
| Code | string | |
| Description | string | |
| Material | string | |
| Size | string | |
| ManufacturerId | string | |
| ManufacturerCode | string | |
| ManufacturerName | string | |
| Model | string | |
| Price | number | |
| Specification | array | |
| Year | string | |
| Url | string | |
| Warranty | string | |
| DocumentationUrl | string | |
| Unit | string | |
| Manufacturer | object | |
| System | object | |
| RelatedProducts | array | |
| Quantity | number | |
| QuantityAsset | number | |
| ImageRootPaths | array |
Example Usage
- JavaScript
- .Net
function helloWorld() {
console.log("Hello, world!");
}
def hello_world():
print 'Hello, world!'
Example Success Response
[
{
"id": 133024,
"name": "Mumbai"
},
...
]
Example Error Response
{
"error'": "Unauthorized. You shouldn't be here."
}