POST api/chargecodeexternalaccess
Creates a charge code external access record
Request Information
URI Parameters
None.
Body Parameters
Object that contains the required parameters to create an external access charge code
ChargeCodeExternalAccessCreateViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ChargeCodeTypeId |
ChargeCodeTypeId |
integer |
Required |
| Application |
Application |
string |
Required |
Request Formats
application/json, text/json
Sample:
{
"chargeCodeTypeId": 1,
"application": "sample string 1"
}
application/xml, text/xml
Sample:
<ChargeCodeExternalAccessCreateViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels"> <Application>sample string 1</Application> <ChargeCodeTypeId>1</ChargeCodeTypeId> </ChargeCodeExternalAccessCreateViewModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ChargeCodeExternalAccessModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ExternalAccessId |
|
integer |
None. |
| ChargeCodeTypeId |
|
integer |
None. |
| Application |
|
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"externalAccessId": 1,
"chargeCodeTypeId": 2,
"application": "sample string 3"
}
application/xml, text/xml
Sample:
<ChargeCodeExternalAccessModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.Core.Models"> <Application>sample string 3</Application> <ChargeCodeTypeId>2</ChargeCodeTypeId> <ExternalAccessId>1</ExternalAccessId> </ChargeCodeExternalAccessModel>