GET api_v2/PartnerServicesData/GetServiceStatusForAccount?accountId={accountId}&serviceId={serviceId}
Получить статус сервиса для аккаунта
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
accountId | Id аккаунта |
Define this parameter in the request URI. |
serviceId | Id сервиса |
Define this parameter in the request URI. |
Response Information
Модель статуса сервиса для аккаунта
Response body formats
application/xml, text/xml
Sample:
<Result> <ExpireDate>2022-05-22T06:44:52.610401+03:00</ExpireDate> <DatabasesIds type="sample string 1"> <DatabaseId>a30dc429-637c-4958-825d-0a5db1785839</DatabaseId> <DatabaseId>094deee6-eecc-4b4f-9fc1-0a9c353e14aa</DatabaseId> <DatabaseId>2756fb2c-e82a-46ec-903a-aa664c065d8e</DatabaseId> </DatabasesIds> <ConnectedServiceTypesToUsers type="sample string 1"> <ConnectedServiceTypeToUser> <UserId>a462e870-779d-462c-a62f-edff22a6bafc</UserId> <ServiceTypeId>2e71783d-c58d-4de8-bfdf-1b6ace965f36</ServiceTypeId> </ConnectedServiceTypeToUser> <ConnectedServiceTypeToUser> <UserId>a462e870-779d-462c-a62f-edff22a6bafc</UserId> <ServiceTypeId>2e71783d-c58d-4de8-bfdf-1b6ace965f36</ServiceTypeId> </ConnectedServiceTypeToUser> <ConnectedServiceTypeToUser> <UserId>a462e870-779d-462c-a62f-edff22a6bafc</UserId> <ServiceTypeId>2e71783d-c58d-4de8-bfdf-1b6ace965f36</ServiceTypeId> </ConnectedServiceTypeToUser> </ConnectedServiceTypesToUsers> <BillingServiceStatusForAccount>NotActivated</BillingServiceStatusForAccount> <IsDemo>true</IsDemo> </Result>
application/json, text/json
Sample:
{ "ExpireDate": "2022-05-22T06:44:52.610401+03:00", "DatabasesIds": { "DatabaseId": [ "a30dc429-637c-4958-825d-0a5db1785839", "094deee6-eecc-4b4f-9fc1-0a9c353e14aa", "2756fb2c-e82a-46ec-903a-aa664c065d8e" ] }, "ConnectedServiceTypesToUsers": { "ConnectedServiceTypeToUser": [ { "UserId": "a462e870-779d-462c-a62f-edff22a6bafc", "ServiceTypeId": "2e71783d-c58d-4de8-bfdf-1b6ace965f36" }, { "UserId": "a462e870-779d-462c-a62f-edff22a6bafc", "ServiceTypeId": "2e71783d-c58d-4de8-bfdf-1b6ace965f36" }, { "UserId": "a462e870-779d-462c-a62f-edff22a6bafc", "ServiceTypeId": "2e71783d-c58d-4de8-bfdf-1b6ace965f36" } ] }, "BillingServiceStatusForAccount": 0, "IsDemo": true }