POST api_v2/CSResources/Add

Добавить ресурс облачной службы

Request Information

Parameters

NameDescriptionAdditional information
model

Define this parameter in the request body.

Request body formats

application/xml, text/xml

Sample:
<Request>
  <CloudServiceID>sample string 1</CloudServiceID>
  <ResourcesName>sample string 2</ResourcesName>
</Request>

application/json, text/json

Sample:
{
  "CloudServiceID": "sample string 1",
  "ResourcesName": "sample string 2"
}

Response Information

Статус 201 и ИД ресурса в заголовке

Response body formats

application/xml, text/xml

Sample:
<Result>
  <CSResourceID>fde95776-e1b2-4609-8f09-c326a7e39e13</CSResourceID>
</Result>

application/json, text/json

Sample:
{
  "CSResourceID": "fde95776-e1b2-4609-8f09-c326a7e39e13"
}