Get Service Info — xizmat ma’lumotlari
4. Get Service Info
GET - /api/v1/public/services/{serviceId}
Request header
Field | Optional | Description |
|---|---|---|
Content-Type | false | application/json |
X-Lang | true | RU |
Path variable
Field | Optional | Description |
|---|---|---|
serviceId | false | Yaratilgan freym havolasidagi xizmat ID |
Request sample
curl --location '{baseUrl}/api/v1/public/services/2ffad477-1a1d-4e6d-a6a9-52a653f1484a' \
--header 'Content-Type: application/json'Response sample (HTTP 200)
{
"code": "SUCCESS",
"data": {
"id": "478fa9a5-dd08-4323-a8c6-8f79419d52d7",
"serviceId": "a5da18c2-c1ee-4cc8-b2f5-450153a46791",
"cashType": "WITHOUT_BILLING",
"name": "Smartcast test 2",
"sendStatusUrl": "https://smartcast.uz",
"minAmount": 300000,
"maxAmount": 2000000000,
"longitude": 23.0,
"latitude": 24.0,
"businessId": 2,
"status": "INACTIVE",
"serviceImageUrl": "https://s3.xonsaroypay.uz/ecom/business-2-348ed267-299e-4118-8fee-d6f06a7f5227.svg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ecom-user%2F20251213%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20251213T195403Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=a1b921bbe31afc86a6b7d7ab90d1944d6a85d1d9b40a6b356e3ed38c65b668a1",
"requestFields": [
{
"id": 4,
"fieldOrder": 0,
"key": "billingIdentifier",
"title": "Shartnoma raqami",
"isRequired": true,
"type": "STRING",
"fieldRegex": "^[a-zA-Z]+$",
"placeholder": "BBxxxxxxx"
},
{
"id": 6,
"fieldOrder": 0,
"key": "description",
"title": "Qoshimcha malumot",
"isRequired": false,
"type": "STRING",
"fieldRegex": "",
"placeholder": ""
}
]
},
"timestamp": 1765658975573
}Response sample (HTTP 4xx)
{
"data": {
"message": "Касса не найдена"
},
"timestamp": 1757402253311
}