POST api/ServiceRefs

Request Information

URI Parameters

None.

Body Parameters

ServiceRef
NameDescriptionTypeAdditional information
ServiceId

integer

None.

ServiceType

string

String length: inclusive between 0 and 50

Category

string

String length: inclusive between 0 and 50

ID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ServiceId": 1,
  "ServiceType": "sample string 2",
  "Category": "sample string 3",
  "ID": 4
}

application/xml, text/xml

Sample:
<ServiceRef xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fabric">
  <Category>sample string 3</Category>
  <ID>4</ID>
  <ServiceId>1</ServiceId>
  <ServiceType>sample string 2</ServiceType>
</ServiceRef>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ServiceRef
NameDescriptionTypeAdditional information
ServiceId

integer

None.

ServiceType

string

String length: inclusive between 0 and 50

Category

string

String length: inclusive between 0 and 50

ID

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "ServiceId": 1,
  "ServiceType": "sample string 2",
  "Category": "sample string 3",
  "ID": 4
}

application/xml, text/xml

Sample:
<ServiceRef xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fabric">
  <Category>sample string 3</Category>
  <ID>4</ID>
  <ServiceId>1</ServiceId>
  <ServiceType>sample string 2</ServiceType>
</ServiceRef>