PUT api/autoassignedchargecodes

Assign global charge codes

Request Information

URI Parameters

None.

Body Parameters

Collection of AutoAssignedChargeCodeViewModel
NameDescriptionTypeAdditional information
Id

integer

Required

Range: inclusive between 1 and 2147483647

IsAutoAssigned

boolean

Required

Request Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "isAutoAssigned": true
  },
  {
    "id": 1,
    "isAutoAssigned": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfAutoAssignedChargeCodeViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.ChargeCode">
  <AutoAssignedChargeCodeViewModel>
    <Id>1</Id>
    <IsAutoAssigned>true</IsAutoAssigned>
  </AutoAssignedChargeCodeViewModel>
  <AutoAssignedChargeCodeViewModel>
    <Id>1</Id>
    <IsAutoAssigned>true</IsAutoAssigned>
  </AutoAssignedChargeCodeViewModel>
</ArrayOfAutoAssignedChargeCodeViewModel>

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 'List`1'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.