Portuguese Payroll | DR Insurer
Service to manage entities of type 'DRInsurer'.
Overview
| URL | api/{tenantKey}/{orgKey}/payrollPT/dRInsurers |
| Methods Supported | GET, POST, PUT, DELETE |
All Operations
This service includes the following operations:
- GET:
- POST:
-
PUT:
- PUT Set IsActive DRInsurer
- PUT Set DRInsurerKey DRInsurer
- PUT Set Deduction DRInsurer
- PUT Set Policy DRInsurer
- PUT Set Period DRInsurer
- PUT Set Description DRInsurer
- PUT Set DeliveryDate DRInsurer
- PUT Set Company DRInsurer
- PUT Set Currency DRInsurer
- PUT Set TotalEarnings DRInsurer
- PUT Set DRInsurerState DRInsurer
- PUT Set Employee DRInsurerDetail
- PUT Set SubscriberId DRInsurerDetail
- PUT Set WorkLocation DRInsurerDetail
- PUT Set WorkLocationNISS DRInsurerDetail
- PUT Set Tax DRInsurerDetail
- PUT Set Period DRInsurerDetail
- PUT Set Days DRInsurerDetail
- PUT Set Signal DRInsurerDetail
- PUT Set Earnings DRInsurerDetail
- PUT Set Nature DRInsurerDetail
- PUT Set Currency DRInsurerDetail
- PUT Set ClassificationType DRInsurerDetail
- PUT Set IsCalculated DRInsurerDetail
- PUT Set IncludeZeroLines DRInsurerDetail
- PUT Set IsModified DRInsurerDetail
- PUT Set WorkLocation DRInsurerResume
- PUT Set Tax DRInsurerResume
- PUT Set EarningValue DRInsurerResume
- PUT Set ContributionValue DRInsurerResume
- PUT Set Currency DRInsurerResume
- PUT Set WorkLocationNISS DRInsurerResume
- PUT Set WorkLocationNISS DRInsurerFile
- PUT Set FileId DRInsurerFile
- DELETE:
All Resources
This service uses the following resources:
- ApiDRInsurerDRInsurerDetailsProcessingDetailsResource
- ApiDRInsurerDRInsurerDetailsResource
- ApiDRInsurerFilesResource
- ApiDRInsurerResource
- ApiDRInsurerResumesResource
- DRInsurerDetailResource
- DRInsurerFileResource
- DRInsurerMainDRInsurerDetailsResource
- DRInsurerMainResource
- DRInsurerMainResumesResource
- DRInsurerProcessingDetailResource
- DRInsurerResource
- DRInsurerResumeResource
- MoneyResource
All Enumerations
This service uses the following enumerations:
GET DRInsurers
Returns the list of all the entity records available.
Response:
| When successful, the response body contains the list of records available. See DRInsurerResource. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
GET DRInsurers (paged)
Returns a page of the list of all the entity records available.
The following elements are optional:
| page | (int) The index of the page of the list that should be returned. This is a query string parameter. |
| pageSize | (int) The number of page elements that should be returned (max. is 1000). This is a query string parameter. |
Response:
| When successful, the response body contains the list of records available. See DRInsurerResource. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
GET DRInsurer by identifier
Returns the entity record that matches the specified identifier.
The following elements are required:
| id | (string) The record identifier. |
Response:
| When successful, the response body contains the entity record. See DRInsurerResource. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
| 404 | NotFound. The specified record does not exist. |
Resource URL:
GET DRInsurer by key
Returns the entity record that matches the specified key.
The following elements are required:
| companyKey | (string) The company key. |
| dRInsurerKey | (string) DR Insurer. |
Response:
| When successful, the response body contains the entity record. See DRInsurerResource. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
| 404 | NotFound. The specified record does not exist. |
Resource URL:
GET Print DRInsurer by identifier
Prints the specified entity record.
The following elements are required:
| id | (string) The record identifier. |
The following elements are optional:
| template | (string) The report template that should be used. This is a query string parameter. |
Response:
| When successful, the response body contains a stream with the printed file. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 404 | NotFound. The specified resord does not exist. |
Resource URL:
GET Print DRInsurer by key
Prints the specified entity record.
The following elements are required:
| companyKey | (string) The company key. |
| dRInsurerKey | (string) DR Insurer. |
The following elements are optional:
| template | (string) The report template that should be used. This is a query string parameter. |
Response:
| When successful, the response body contains a stream with the printed file. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
| 404 | NotFound. The specified record does not exist. |
Resource URL:
GET Original Print DRInsurerOriginal by identifier
Prints the specified entity record.
The following elements are required:
| id | (string) The record identifier. |
The following elements are optional:
| template | (string) The report template that should be used. This is a query string parameter. |
Response:
| When successful, the response body contains a stream with the printed file. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 404 | NotFound. The specified resord does not exist. |
Resource URL:
GET Original Print DRInsurer by key
Prints the specified entity record.
The following elements are required:
| companyKey | (string) The company key. |
| dRInsurerKey | (string) DR Insurer. |
The following elements are optional:
| template | (string) The report template that should be used. This is a query string parameter. |
Response:
| When successful, the response body contains a stream with the printed file. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
| 404 | NotFound. The specified record does not exist. |
Resource URL:
POST DRInsurers
Creates a new entity record.
The following elements are required:
| dRInsurerResource | (ApiDRInsurerResource) The request body should contain the entity record that should be created. See ApiDRInsurerResource. |
Response:
| When successful, the response body contains the new entity record identifier. The resource header location property contains the URL for the new entity record. See ApiDRInsurerResource. |
Response status codes:
| 201 | Created. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
POST DR Insurer
Inserts a new 'DR Insurer Detail' in the 'DR Insurer'.
The following elements are required:
| dRInsurerKey | (string) DR Insurer. |
| companyKey | (string) The company key. |
| value | (ApiDRInsurerDRInsurerDetailsResource) The ApiDRInsurerDRInsurerDetailsResource instance. See ApiDRInsurerDRInsurerDetailsResource. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 204 | NoContent. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
POST DR Insurer
Inserts a new 'DR Insurer Resume' in the 'DR Insurer'.
The following elements are required:
| dRInsurerKey | (string) DR Insurer. |
| companyKey | (string) The company key. |
| value | (ApiDRInsurerResumesResource) The ApiDRInsurerResumesResource instance. See ApiDRInsurerResumesResource. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 204 | NoContent. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
POST DR Insurer
Inserts a new 'DR Insurer File' in the 'DR Insurer'.
The following elements are required:
| dRInsurerKey | (string) DR Insurer. |
| companyKey | (string) The company key. |
| value | (ApiDRInsurerFilesResource) The ApiDRInsurerFilesResource instance. See ApiDRInsurerFilesResource. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 204 | NoContent. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
POST Generate DR Insurer
Custom operation 'GenerateDRInsurer'.
The following elements are required:
| companyKey | (string) CompanyKey. |
| month | (int) Month. |
| year | (int) Year. |
| deduction | (string) Deduction. |
| generateWithNoRows | (bool) GenerateWithNoRows. |
Response:
| When successful, the response body is empty. |
Resource URL:
PUT Set ClassificationType DRInsurerDetail
Updates the value of attribute 'ClassificationType' in the specified entity record.
The following elements are required:
| dRInsurerKey | (string) DR Insurer. |
| lineId | (string) The detail identifier. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Company DRInsurer
Updates the value of attribute 'Company' in the specified entity record.
The following elements are required:
| dRInsurerKey | (string) DR Insurer. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set ContributionValue DRInsurerResume
Updates the value of attribute 'ContributionValue' in the specified entity record.
The following elements are required:
| dRInsurerKey | (string) DR Insurer. |
| lineId | (string) The detail identifier. |
| companyKey | (string) The company key. |
| value | (decimal) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Currency DRInsurer
Updates the value of attribute 'Currency' in the specified entity record.
The following elements are required:
| dRInsurerKey | (string) DR Insurer. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Currency DRInsurerDetail
Updates the value of attribute 'Currency' in the specified entity record.
The following elements are required:
| dRInsurerKey | (string) DR Insurer. |
| lineId | (string) The detail identifier. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Currency DRInsurerResume
Updates the value of attribute 'Currency' in the specified entity record.
The following elements are required:
| dRInsurerKey | (string) DR Insurer. |
| lineId | (string) The detail identifier. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Days DRInsurerDetail
Updates the value of attribute 'Days' in the specified entity record.
The following elements are required:
| dRInsurerKey | (string) DR Insurer. |
| lineId | (string) The detail identifier. |
| companyKey | (string) The company key. |
| value | (decimal) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Deduction DRInsurer
Updates the value of attribute 'Deduction' in the specified entity record.
The following elements are required:
| dRInsurerKey | (string) DR Insurer. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set DeliveryDate DRInsurer
Updates the value of attribute 'DeliveryDate' in the specified entity record.
The following elements are required:
| dRInsurerKey | (string) DR Insurer. |
| companyKey | (string) The company key. |
| value | (DateTime) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Description DRInsurer
Updates the value of attribute 'Description' in the specified entity record.
The following elements are required:
| dRInsurerKey | (string) DR Insurer. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set DRInsurerKey DRInsurer
Updates the value of attribute 'DRInsurerKey' in the specified entity record.
The following elements are required:
| dRInsurerKey | (string) DR Insurer. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set DRInsurerState DRInsurer
Updates the value of attribute 'DRInsurerState' in the specified entity record.
The following elements are required:
| dRInsurerKey | (string) DR Insurer. |
| companyKey | (string) The company key. |
| value | (enum DriState) The request body should contain the new value for the attribute. See DriState. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Earnings DRInsurerDetail
Updates the value of attribute 'Earnings' in the specified entity record.
The following elements are required:
| dRInsurerKey | (string) DR Insurer. |
| lineId | (string) The detail identifier. |
| companyKey | (string) The company key. |
| value | (decimal) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set EarningValue DRInsurerResume
Updates the value of attribute 'EarningValue' in the specified entity record.
The following elements are required:
| dRInsurerKey | (string) DR Insurer. |
| lineId | (string) The detail identifier. |
| companyKey | (string) The company key. |
| value | (decimal) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Employee DRInsurerDetail
Updates the value of attribute 'Employee' in the specified entity record.
The following elements are required:
| dRInsurerKey | (string) DR Insurer. |
| lineId | (string) The detail identifier. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set FileId DRInsurerFile
Updates the value of attribute 'FileId' in the specified entity record.
The following elements are required:
| dRInsurerKey | (string) DR Insurer. |
| lineId | (string) The detail identifier. |
| companyKey | (string) The company key. |
| value | (Guid) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set IncludeZeroLines DRInsurerDetail
Updates the value of attribute 'IncludeZeroLines' in the specified entity record.
The following elements are required:
| dRInsurerKey | (string) DR Insurer. |
| lineId | (string) The detail identifier. |
| companyKey | (string) The company key. |
| value | (bool) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set IsActive DRInsurer
Updates the value of attribute 'IsActive' in the specified entity record.
The following elements are required:
| dRInsurerKey | (string) DR Insurer. |
| companyKey | (string) The company key. |
| value | (bool) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
| 404 | NotFound. The specified record does not exist. |
Resource URL:
PUT Set IsCalculated DRInsurerDetail
Updates the value of attribute 'IsCalculated' in the specified entity record.
The following elements are required:
| dRInsurerKey | (string) DR Insurer. |
| lineId | (string) The detail identifier. |
| companyKey | (string) The company key. |
| value | (bool) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set IsModified DRInsurerDetail
Updates the value of attribute 'IsModified' in the specified entity record.
The following elements are required:
| dRInsurerKey | (string) DR Insurer. |
| lineId | (string) The detail identifier. |
| companyKey | (string) The company key. |
| value | (bool) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Nature DRInsurerDetail
Updates the value of attribute 'Nature' in the specified entity record.
The following elements are required:
| dRInsurerKey | (string) DR Insurer. |
| lineId | (string) The detail identifier. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Period DRInsurer
Updates the value of attribute 'Period' in the specified entity record.
The following elements are required:
| dRInsurerKey | (string) DR Insurer. |
| companyKey | (string) The company key. |
| value | (DateTime) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Period DRInsurerDetail
Updates the value of attribute 'Period' in the specified entity record.
The following elements are required:
| dRInsurerKey | (string) DR Insurer. |
| lineId | (string) The detail identifier. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Policy DRInsurer
Updates the value of attribute 'Policy' in the specified entity record.
The following elements are required:
| dRInsurerKey | (string) DR Insurer. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Signal DRInsurerDetail
Updates the value of attribute 'Signal' in the specified entity record.
The following elements are required:
| dRInsurerKey | (string) DR Insurer. |
| lineId | (string) The detail identifier. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set SubscriberId DRInsurerDetail
Updates the value of attribute 'SubscriberId' in the specified entity record.
The following elements are required:
| dRInsurerKey | (string) DR Insurer. |
| lineId | (string) The detail identifier. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Tax DRInsurerDetail
Updates the value of attribute 'Tax' in the specified entity record.
The following elements are required:
| dRInsurerKey | (string) DR Insurer. |
| lineId | (string) The detail identifier. |
| companyKey | (string) The company key. |
| value | (decimal) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Tax DRInsurerResume
Updates the value of attribute 'Tax' in the specified entity record.
The following elements are required:
| dRInsurerKey | (string) DR Insurer. |
| lineId | (string) The detail identifier. |
| companyKey | (string) The company key. |
| value | (decimal) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set TotalEarnings DRInsurer
Updates the value of attribute 'TotalEarnings' in the specified entity record.
The following elements are required:
| dRInsurerKey | (string) DR Insurer. |
| companyKey | (string) The company key. |
| value | (decimal) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set WorkLocation DRInsurerDetail
Updates the value of attribute 'WorkLocation' in the specified entity record.
The following elements are required:
| dRInsurerKey | (string) DR Insurer. |
| lineId | (string) The detail identifier. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set WorkLocation DRInsurerResume
Updates the value of attribute 'WorkLocation' in the specified entity record.
The following elements are required:
| dRInsurerKey | (string) DR Insurer. |
| lineId | (string) The detail identifier. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set WorkLocationNISS DRInsurerDetail
Updates the value of attribute 'WorkLocationNISS' in the specified entity record.
The following elements are required:
| dRInsurerKey | (string) DR Insurer. |
| lineId | (string) The detail identifier. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set WorkLocationNISS DRInsurerFile
Updates the value of attribute 'WorkLocationNISS' in the specified entity record.
The following elements are required:
| dRInsurerKey | (string) DR Insurer. |
| lineId | (string) The detail identifier. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set WorkLocationNISS DRInsurerResume
Updates the value of attribute 'WorkLocationNISS' in the specified entity record.
The following elements are required:
| dRInsurerKey | (string) DR Insurer. |
| lineId | (string) The detail identifier. |
| companyKey | (string) The company key. |
| value | (string) The request body should contain the new value for the attribute. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
DELETE DR Insurer Detail by identifier
Deletes the entity record that matches the specified identifier.
The following elements are required:
| dRInsurerKey | (string) DR Insurer. |
| companyKey | (string) The company key. |
| lineId | (string) The line identifier. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 204 | NoContent. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
| 404 | NotFound. The specified record does not exist. |
Resource URL:
DELETE DR Insurer Resume by identifier
Deletes the entity record that matches the specified identifier.
The following elements are required:
| dRInsurerKey | (string) DR Insurer. |
| companyKey | (string) The company key. |
| lineId | (string) The line identifier. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 204 | NoContent. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
| 404 | NotFound. The specified record does not exist. |
Resource URL:
DELETE DR Insurer File by identifier
Deletes the entity record that matches the specified identifier.
The following elements are required:
| dRInsurerKey | (string) DR Insurer. |
| companyKey | (string) The company key. |
| lineId | (string) The line identifier. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 204 | NoContent. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
| 404 | NotFound. The specified record does not exist. |
Resource URL:
DELETE DRInsurer by identifier
Deletes the entity record that matches the specified identifier.
The following elements are required:
| id | (string) The record identifier. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 204 | Deleted. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
| 404 | NotFound. The specified record does not exist. |
Resource URL:
DELETE DRInsurer by key
Deletes the entity record that matches the specified key.
The following elements are required:
| companyKey | (string) The company key. |
| dRInsurerKey | (string) DR Insurer. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 204 | Deleted. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
| 404 | NotFound. The specified record does not exist. |
Resource URL:
Resources
ApiDRInsurerDRInsurerDetailsProcessingDetailsResource
The following elements are required:
| processing | (string) Processing. |
| earning | (string) Earning. |
| subjectValue | (MoneyResource) Subject Value.
See MoneyResource . |
| exemptValue | (MoneyResource) Exempt Value.
See MoneyResource . |
| freeValue | (MoneyResource) Free Value.
See MoneyResource . |
| currency | (string) Currency. |
ApiDRInsurerDRInsurerDetailsResource
The following elements are required:
| employee | (string) Employee. |
| subscriberId | (string) Subscriber Id. |
| workLocation | (string) Work Location. |
| tax | (decimal) Tax. |
| period | (string) Period. |
| earnings | (MoneyResource) Earnings.
See MoneyResource . |
| nature | (string) Nature. |
| currency | (string) Currency. |
| isCalculated | (bool) Is Calculated. |
| isModified | (bool) Modified. |
The following elements are optional:
| workLocationNISS | (string) Work Location NISS. |
| days | (decimal) Days. |
| signal | (string) Signal. |
| classificationType | (string) Classification Type. |
| processingDetails | (List of ApiDRInsurerDRInsurerDetailsProcessingDetailsResource) Processing Details.
See ApiDRInsurerDRInsurerDetailsProcessingDetailsResource. |
| includeZeroLines | (bool) Include Zero Lines. |
ApiDRInsurerFilesResource
The following elements are required:
| workLocationNISS | (string) Work Location NISS. |
| fileId | (Guid) File Id. |
ApiDRInsurerResource
The following elements are required:
| dRInsurerKey | (string) DR Insurer. |
| deduction | (string) Deduction. |
| period | (DateTime) Period. |
| company | (string) Company. |
| currency | (string) Currency. |
| totalEarnings | (MoneyResource) Total Earnings.
See MoneyResource . |
| dRInsurerState | (enum DriState) State.
See DriState. |
The following elements are optional:
| policy | (string) Policy. |
| description | (string) Description. |
| deliveryDate | (DateTime) Delivery Date. |
| dRInsurerDetails | (List of ApiDRInsurerDRInsurerDetailsResource) DR Insurer Details.
See ApiDRInsurerDRInsurerDetailsResource. |
| resumes | (List of ApiDRInsurerResumesResource) Resumes.
See ApiDRInsurerResumesResource. |
| files | (List of ApiDRInsurerFilesResource) Files.
See ApiDRInsurerFilesResource. |
ApiDRInsurerResumesResource
The following elements are required:
| earningValue | (MoneyResource) Earning Value.
See MoneyResource . |
| contributionValue | (MoneyResource) Contribution Value.
See MoneyResource . |
| currency | (string) Currency. |
The following elements are optional:
| workLocation | (string) Work Location. |
| tax | (decimal) Tax. |
| workLocationNISS | (string) Work Location NISS. |
DRInsurerDetailResource
The following elements are required:
| employee | (string) Employee. |
| subscriberId | (string) Subscriber Id. |
| workLocation | (string) Work Location. |
| tax | (decimal) Tax. |
| period | (string) Period. |
| earnings | (MoneyResource) Earnings.
See MoneyResource . |
| nature | (string) Nature. |
| currency | (string) Currency. |
| isCalculated | (bool) Is Calculated. |
| isModified | (bool) Modified. |
The following elements are optional:
| workLocationNISS | (string) Work Location NISS. |
| days | (decimal) Days. |
| signal | (string) Signal. |
| classificationType | (string) Classification Type. |
| processingDetails | (List of DRInsurerProcessingDetailResource) Processing Details.
See DRInsurerProcessingDetailResource. |
| includeZeroLines | (bool) Include Zero Lines. |
DRInsurerFileResource
The following elements are required:
| workLocationNISS | (string) Work Location NISS. |
| fileId | (Guid) File Id. |
DRInsurerMainDRInsurerDetailsResource
The following elements are required:
| currency | (string) Currency. |
| earnings | (MoneyResource) Earnings.
See MoneyResource . |
| employee | (string) Employee. |
| isCalculated | (bool) Is Calculated. |
| nature | (string) Nature. |
| period | (string) Period. |
| subscriberId | (string) Subscriber Id. |
| tax | (decimal) Tax. |
| workLocation | (string) Work Location. |
| isModified | (bool) Modified. |
The following elements are optional:
| days | (decimal) Days. |
| signal | (string) Signal. |
| workLocationNISS | (string) Work Location NISS. |
DRInsurerMainResource
The following elements are required:
| company | (string) Company. |
| currency | (string) Currency. |
| deduction | (string) Deduction. |
| dRInsurerKey | (string) DR Insurer. |
| dRInsurerState | (enum DriState) State.
See DriState. |
| period | (DateTime) Period. |
| totalEarnings | (MoneyResource) Total Earnings.
See MoneyResource . |
The following elements are optional:
| deliveryDate | (DateTime) Delivery Date. |
| description | (string) Description. |
| dRInsurerDetails | (List of DRInsurerMainDRInsurerDetailsResource) DR Insurer Details.
See DRInsurerMainDRInsurerDetailsResource. |
| party | (string) Party. |
| policy | (string) Policy. |
| resumes | (List of DRInsurerMainResumesResource) Resumes.
See DRInsurerMainResumesResource. |
DRInsurerMainResumesResource
The following elements are required:
| contributionValue | (MoneyResource) Contribution Value.
See MoneyResource . |
| currency | (string) Currency. |
| earningValue | (MoneyResource) Earning Value.
See MoneyResource . |
The following elements are optional:
| tax | (decimal) Tax. |
| workLocation | (string) Work Location. |
| workLocationNISS | (string) Work Location NISS. |
DRInsurerProcessingDetailResource
The following elements are required:
| processing | (string) Processing. |
| earning | (string) Earning. |
| subjectValue | (MoneyResource) Subject Value.
See MoneyResource . |
| exemptValue | (MoneyResource) Exempt Value.
See MoneyResource . |
| freeValue | (MoneyResource) Free Value.
See MoneyResource . |
| currency | (string) Currency. |
DRInsurerResource
The following elements are required:
| dRInsurerKey | (string) DR Insurer. |
| deduction | (string) Deduction.
(fk) Allowed value: the natural key of a record of type Deduction. These records are accessibly through the Deductions service. |
| period | (DateTime) Period. |
| company | (string) Company.
(fk) Allowed value: the natural key of a record of type Company. |
| currency | (string) Currency.
(fk) Allowed value: the natural key of a record of type Currency. |
| totalEarnings | (MoneyResource) Total Earnings.
See MoneyResource . |
| dRInsurerState | (enum DriState) State.
See DriState. |
The following elements are optional:
| party | (string) Party.
(fk) Allowed value: the natural key of a record of type Party. |
| policy | (string) Policy. |
| description | (string) Description. |
| deliveryDate | (DateTime) Delivery Date. |
| dRInsurerDetails | (List of DRInsurerDetailResource) DR Insurer Details.
See DRInsurerDetailResource. |
| resumes | (List of DRInsurerResumeResource) Resumes.
See DRInsurerResumeResource. |
| files | (List of DRInsurerFileResource) Files.
See DRInsurerFileResource. |
DRInsurerResumeResource
The following elements are required:
| earningValue | (MoneyResource) Earning Value.
See MoneyResource . |
| contributionValue | (MoneyResource) Contribution Value.
See MoneyResource . |
| currency | (string) Currency. |
The following elements are optional:
| workLocation | (string) Work Location. |
| tax | (decimal) Tax. |
| workLocationNISS | (string) Work Location NISS. |
MoneyResource
The following elements are required:
| amount | (decimal) The amount. |
The following elements are optional:
| baseAmount | (decimal) The base amount. |
| reportingAmount | (decimal) The reporting amount. |
| fractionDigits | (int) The fraction digits. |
| symbol | (string) The symbol. |
Notes: For the POST operation it is not necessary to send the fields: BaseAmount, ReportingAmount, FractionDigits and Symbol. Will be ignored.