POST api/Rep/PayoutProfile
Allows you to create Rep's Payout profile.
Request Information
URI Parameters
None.
Body Parameters
RepsPayoutProfileViewModelName | Description | Type | Additional information |
---|---|---|---|
RepDID | string |
None. |
|
PayoutMethodID | integer |
None. |
|
SetAsDefaultPayoutMethod | boolean |
None. |
|
profileValues | Collection of RepsPayoutProfileItemValue |
None. |
Request Formats
application/xml, text/xml
Sample:
<RepsPayoutProfileViewModel> <RepDID>sample string 1</RepDID> <PayoutMethodID>2</PayoutMethodID> <SetAsDefaultPayoutMethod>True</SetAsDefaultPayoutMethod> <profileValues> <RepsPayoutProfileItemValue> <DetailNumber>1</DetailNumber> <Value>sample string 2</Value> </RepsPayoutProfileItemValue> <RepsPayoutProfileItemValue> <DetailNumber>1</DetailNumber> <Value>sample string 2</Value> </RepsPayoutProfileItemValue> </profileValues> </RepsPayoutProfileViewModel>
application/json, text/json
Sample:
{ "RepDID": "sample string 1", "PayoutMethodID": 2, "SetAsDefaultPayoutMethod": true, "profileValues": [ { "DetailNumber": 1, "Value": "sample string 2" }, { "DetailNumber": 1, "Value": "sample string 2" } ] }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/xml, text/xml, application/json, text/json
Sample:
Sample not available.