POST api/Subscriber

Add new Subscriber

Request Information

URI Parameters

None.

Body Parameters

Subscriber
NameDescriptionTypeAdditional information
SubscriberId

integer

None.

SubscriberName

string

None.

Email

string

None.

VendorContractAttachment

boolean

None.

CustomerContractAttachment

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "subscriberId": 1,
  "subscriberName": "sample string 2",
  "email": "sample string 3",
  "vendorContractAttachment": true,
  "customerContractAttachment": true
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Subscriber'.

Response Information

Resource Description

Subscriber
NameDescriptionTypeAdditional information
SubscriberId

integer

None.

SubscriberName

string

None.

Email

string

None.

VendorContractAttachment

boolean

None.

CustomerContractAttachment

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "subscriberId": 1,
  "subscriberName": "sample string 2",
  "email": "sample string 3",
  "vendorContractAttachment": true,
  "customerContractAttachment": true
}