| Required role: | Admin |
| All Verbs | /billing_config/{BillingConfigId}/update |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| BillingConfigId | path | int | No | |
| EnableBilling | query | bool? | No | |
| EnableMealPlan | query | bool? | No | |
| ExportType | query | string | No | |
| ExportDateType | query | string | No | |
| ExportCodeType | query | string | No | |
| DefaultScheduleId | query | int? | No | |
| GraceDays | query | int? | No | |
| MergeResidencyDays | query | int? | No | |
| PreventSameDayOutIn | query | bool? | No | |
| SkipSameDayInOut | query | bool? | No | |
| AutoUseTermStartDays | query | int? | No | |
| AutoUseTermEndDays | query | int? | No | |
| PostEmail | query | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Result | form | BillingConfigDTO | No | |
| ResponseStatus | form | ResponseStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| BillingConfigId | form | int | No | |
| SiteId | form | int | No | |
| EnableBilling | form | bool | No | |
| EnableMealPlan | form | bool | No | |
| ExportType | form | string | No | |
| ExportDateType | form | string | No | |
| ExportCodeType | form | string | No | |
| DefaultScheduleId | form | int? | No | |
| GraceDays | form | int | No | |
| MergeResidencyDays | form | int | No | |
| PreventSameDayOutIn | form | bool | No | |
| SkipSameDayInOut | form | bool | No | |
| AutoUseTermStartDays | form | int | No | |
| AutoUseTermEndDays | form | int | No | |
| PostEmail | form | string | No | |
| TermDftBillingStartDt | form | DateTime? | No | |
| TermDftBillingEndDt | form | DateTime? | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST //billing_config/{BillingConfigId}/update HTTP/1.1
Host: api.lsu-staging.abodehms.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
billingConfigId: 0,
enableBilling: False,
enableMealPlan: False,
exportType: String,
exportDateType: String,
exportCodeType: String,
defaultScheduleId: 0,
graceDays: 0,
mergeResidencyDays: 0,
preventSameDayOutIn: False,
skipSameDayInOut: False,
autoUseTermStartDays: 0,
autoUseTermEndDays: 0,
postEmail: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
result:
{
billingConfigId: 0,
siteId: 0,
enableBilling: False,
enableMealPlan: False,
exportType: String,
exportDateType: String,
exportCodeType: String,
defaultScheduleId: 0,
graceDays: 0,
mergeResidencyDays: 0,
preventSameDayOutIn: False,
skipSameDayInOut: False,
autoUseTermStartDays: 0,
autoUseTermEndDays: 0,
postEmail: String,
termDftBillingStartDt: 0001-01-01,
termDftBillingEndDt: 0001-01-01
},
responseStatus:
{
errorCode: String,
message: String,
stackTrace: String,
errors:
[
{
errorCode: String,
fieldName: String,
message: String,
meta:
{
String: String
}
}
],
meta:
{
String: String
}
}
}