POST api/generalMaintenance
Request Information
URI Parameters
None.
Body Parameters
GeneralMaintenanceModel| Name | Description | Type | Additional information |
|---|---|---|---|
| GeneralMaintenanceId | integer |
None. |
|
| TypeGeneralMaintenanceId | integer |
Required |
|
| CurrencySourceId | integer |
Required |
|
| CountryId | integer |
Required |
|
| OutlookId | integer |
Required |
|
| CorporateId | integer |
Required |
|
| GrossRates | decimal number |
Required |
|
| YearGeneralMaintenance | date |
Required |
|
| CreatedBy | string |
None. |
|
| CreatedByUserId | integer |
None. |
|
| CreatedOn | date |
None. |
|
| ModifiedBy | string |
None. |
|
| ModifiedByUserId | integer |
None. |
|
| ModifiedOn | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"GeneralMaintenanceId": 1,
"TypeGeneralMaintenanceId": 2,
"CurrencySourceId": 3,
"CountryId": 4,
"OutlookId": 5,
"CorporateId": 6,
"GrossRates": 7.0,
"YearGeneralMaintenance": "2025-12-22T01:54:50.6097554+00:00",
"CreatedBy": "sample string 8",
"CreatedByUserId": 9,
"CreatedOn": "2025-12-22T01:54:50.6097554+00:00",
"ModifiedBy": "sample string 11",
"ModifiedByUserId": 12,
"ModifiedOn": "2025-12-22T01:54:50.6107748+00:00"
}
application/xml, text/xml
Sample:
<GeneralMaintenanceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ALTAMBS.Business.Entities.Models.GeneralMaintenance"> <CorporateId>6</CorporateId> <CountryId>4</CountryId> <CreatedBy>sample string 8</CreatedBy> <CreatedByUserId>9</CreatedByUserId> <CreatedOn>2025-12-22T01:54:50.6097554+00:00</CreatedOn> <CurrencySourceId>3</CurrencySourceId> <GeneralMaintenanceId>1</GeneralMaintenanceId> <GrossRates>7</GrossRates> <ModifiedBy>sample string 11</ModifiedBy> <ModifiedByUserId>12</ModifiedByUserId> <ModifiedOn>2025-12-22T01:54:50.6107748+00:00</ModifiedOn> <OutlookId>5</OutlookId> <TypeGeneralMaintenanceId>2</TypeGeneralMaintenanceId> <YearGeneralMaintenance>2025-12-22T01:54:50.6097554+00:00</YearGeneralMaintenance> </GeneralMaintenanceModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.