POST creditcontrol/SaveCMProcess

Request Information

URI Parameters

None.

Body Parameters

CMProcessItem
NameDescriptionTypeAdditional information
CollectProcessId

integer

None.

ProcessName

string

None.

IsActive

boolean

None.

NoOfBrackets

integer

None.

IsDefault

boolean

None.

ExpireDays

integer

None.

TicketTypeId

integer

None.

AgeingMethod

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CollectProcessId": 1,
  "ProcessName": "sample string 2",
  "IsActive": true,
  "NoOfBrackets": 4,
  "IsDefault": true,
  "ExpireDays": 6,
  "TicketTypeId": 1,
  "AgeingMethod": 1
}

text/html

Sample:
{"CollectProcessId":1,"ProcessName":"sample string 2","IsActive":true,"NoOfBrackets":4,"IsDefault":true,"ExpireDays":6,"TicketTypeId":1,"AgeingMethod":1}

application/xml, text/xml

Sample:
<CMProcessItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.Xyro.Models.Creditor">
  <AgeingMethod>1</AgeingMethod>
  <CollectProcessId>1</CollectProcessId>
  <ExpireDays>6</ExpireDays>
  <IsActive>true</IsActive>
  <IsDefault>true</IsDefault>
  <NoOfBrackets>4</NoOfBrackets>
  <ProcessName>sample string 2</ProcessName>
  <TicketTypeId>1</TicketTypeId>
</CMProcessItem>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.