POST suspendtypes/Update

Request Information

URI Parameters

None.

Body Parameters

SuspendTypeEntity
NameDescriptionTypeAdditional information
SuspendTypeID

integer

None.

SuspendType

string

Required

String length: inclusive between 0 and 20

Active

integer

None.

TenantID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "SuspendTypeID": 1,
  "SuspendType": "sample string 2",
  "Active": 3,
  "TenantID": 4
}

text/html

Sample:
{"SuspendTypeID":1,"SuspendType":"sample string 2","Active":3,"TenantID":4}

application/xml, text/xml

Sample:
<SuspendTypeEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.SuspendTypes">
  <Active>3</Active>
  <SuspendType>sample string 2</SuspendType>
  <SuspendTypeID>1</SuspendTypeID>
  <TenantID>4</TenantID>
</SuspendTypeEntity>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.