POST api/ServiceConsumer

Documentation for 'Post'.

Request Information

Parameters

NameDescriptionAdditional information
registerRequest
Documentation for 'registerRequest'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "serviceId": 1,
  "consumerId": 2
}

application/xml, text/xml

Sample:
<ServiceConsumerRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceSecurity.Models">
  <consumerId>2</consumerId>
  <serviceId>1</serviceId>
</ServiceConsumerRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.