POST v1/Generic/EnableInvoicing

Set Invoice Status to Active or InActive.

This is secure method and requires below attributes in header

Authorization: PRC Authorize Token
Authorization: Midnight Authorize Token
MISKEY: MIS Key

Request Information

URI Parameters

None.

Body Parameters

Set Value Active is True or False.

EnableInvoicingRequest
NameDescriptionTypeAdditional information
Active

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Active": true
}

application/xml, text/xml

Sample:
<EnableInvoicingRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Active>true</Active>
</EnableInvoicingRequest>

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

Response Information

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string>sample string 1</string>