POST Business/ApproveReject

Request Information

URI Parameters

None.

Body Parameters

BusinessApprovalModel
NameDescriptionTypeAdditional information
BusinessGuid

string

None.

ApprovalTypeId

integer

None.

Username

string

None.

RejectionReasonId

integer

None.

RejectionNotes

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BusinessGuid": "sample string 1",
  "ApprovalTypeId": 2,
  "Username": "sample string 3",
  "RejectionReasonId": 4,
  "RejectionNotes": "sample string 5"
}

application/xml, text/xml

Sample:
<BusinessApprovalModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TowPaymentsAPI.Models">
  <ApprovalTypeId>2</ApprovalTypeId>
  <BusinessGuid>sample string 1</BusinessGuid>
  <RejectionNotes>sample string 5</RejectionNotes>
  <RejectionReasonId>4</RejectionReasonId>
  <Username>sample string 3</Username>
</BusinessApprovalModel>

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.