PUT api/csadmin/addfs

Request Information

URI Parameters

None.

Body Parameters

AddFundingSourceModel
NameDescriptionTypeAdditional information
SubscriptionId

string

None.

AgentId

integer

None.

ProviderId

string

None.

ProductTypeId

integer

None.

ProductPlanId

integer

None.

IsActive

boolean

None.

CCLast4

string

None.

CreatedBy

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SubscriptionId": "sample string 1",
  "AgentId": 2,
  "ProviderId": "sample string 3",
  "ProductTypeId": 4,
  "ProductPlanId": 5,
  "IsActive": true,
  "CCLast4": "sample string 7",
  "CreatedBy": "sample string 8"
}

text/html

Sample:
{"SubscriptionId":"sample string 1","AgentId":2,"ProviderId":"sample string 3","ProductTypeId":4,"ProductPlanId":5,"IsActive":true,"CCLast4":"sample string 7","CreatedBy":"sample string 8"}

application/xml, text/xml

Sample:
<AddFundingSourceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models.Services">
  <AgentId>2</AgentId>
  <CCLast4>sample string 7</CCLast4>
  <CreatedBy>sample string 8</CreatedBy>
  <IsActive>true</IsActive>
  <ProductPlanId>5</ProductPlanId>
  <ProductTypeId>4</ProductTypeId>
  <ProviderId>sample string 3</ProviderId>
  <SubscriptionId>sample string 1</SubscriptionId>
</AddFundingSourceModel>

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 'AddFundingSourceModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.