Portuguese Payroll | DRi
Service to manage entities of type 'DRi'.
Overview
| URL | api/{tenantKey}/{orgKey}/payrollPT/dRis |
| Methods Supported | GET, POST, PUT, DELETE |
All Operations
This service includes the following operations:
- GET:
- POST:
-
PUT:
- PUT Set IsActive DRi
- PUT Set DRiKey DRi
- PUT Set Period DRi
- PUT Set DRiState DRi
- PUT Set Description DRi
- PUT Set DeliveryDate DRi
- PUT Set Company DRi
- PUT Set Currency DRi
- PUT Set TotContribProcessed DRi
- PUT Set TotWorkLocContribTax DRi
- PUT Set TotRoundingDiference DRi
- PUT Set AccountDocId DRi
- PUT Set AccountDoc DRi
- PUT Set IsIntegrated DRi
- PUT Set IsSubmited DRi
- PUT Set IsSubmitedWithErrors DRi
- PUT Set Employee DRiDetail
- PUT Set SubscriberId DRiDetail
- PUT Set WorkLocation DRiDetail
- PUT Set Tax DRiDetail
- PUT Set Period DRiDetail
- PUT Set Days DRiDetail
- PUT Set Signal DRiDetail
- PUT Set Earnings DRiDetail
- PUT Set Nature DRiDetail
- PUT Set Independent DRiDetail
- PUT Set Currency DRiDetail
- PUT Set ClassificationType DRiDetail
- PUT Set IsCalculated DRiDetail
- PUT Set IsModified DRiDetail
- PUT Set WorkLocation DRiResume
- PUT Set Tax DRiResume
- PUT Set EarningValue DRiResume
- PUT Set ContributionValue DRiResume
- PUT Set Currency DRiResume
- DELETE:
All Resources
This service uses the following resources:
- ApiDRiDRiDetailsProcessingDetailsResource
- ApiDRiDRiDetailsResource
- ApiDRiDRiResumesResource
- ApiDRiResource
- DRiDetailResource
- DriMainDRiDetailsResource
- DriMainDRiResumesResource
- DriMainResource
- DRiProcessingDetailResource
- DRiResource
- DRiResumeResource
- MoneyResource
All Enumerations
This service uses the following enumerations:
GET DRis
Returns the list of all the entity records available.
Response:
| When successful, the response body contains the list of records available. See DRiResource. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
GET DRis (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 DRiResource. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
GET DRi 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 DRiResource. |
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 DRi by key
Returns the entity record that matches the specified key.
The following elements are required:
| companyKey | (string) The company key. |
| dRiKey | (string) DRi. |
Response:
| When successful, the response body contains the entity record. See DRiResource. |
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 DRi 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 DRi by key
Prints the specified entity record.
The following elements are required:
| companyKey | (string) The company key. |
| dRiKey | (string) DRi. |
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 DRiOriginal 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 DRi by key
Prints the specified entity record.
The following elements are required:
| companyKey | (string) The company key. |
| dRiKey | (string) DRi. |
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 DRis
Creates a new entity record.
The following elements are required:
| dRiResource | (ApiDRiResource) The request body should contain the entity record that should be created. See ApiDRiResource. |
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 ApiDRiResource. |
Response status codes:
| 201 | Created. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
POST DRi
Inserts a new 'DRi Detail' in the 'DRi'.
The following elements are required:
| dRiKey | (string) DRi. |
| companyKey | (string) The company key. |
| value | (ApiDRiDRiDetailsResource) The ApiDRiDRiDetailsResource instance. See ApiDRiDRiDetailsResource. |
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 DRi
Inserts a new 'D Ri Resume' in the 'DRi'.
The following elements are required:
| dRiKey | (string) DRi. |
| companyKey | (string) The company key. |
| value | (ApiDRiDRiResumesResource) The ApiDRiDRiResumesResource instance. See ApiDRiDRiResumesResource. |
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 Dri
Custom operation 'GenerateDri'.
The following elements are required:
| companyKey | (string) CompanyKey. |
| month | (int) Month. |
| year | (int) Year. |
| generateWithNoRows | (bool) GenerateWithNoRows. |
Response:
| When successful, the response body is empty. |
Resource URL:
POST Submit Dri
Custom operation 'SubmitDri'.
The following elements are required:
| companyKey | (string) CompanyKey. |
| month | (int) Month. |
| year | (int) Year. |
Response:
| When successful, the response body is empty. |
Resource URL:
PUT Set AccountDoc DRi
Updates the value of attribute 'AccountDoc' in the specified entity record.
The following elements are required:
| dRiKey | (string) DRi. |
| 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 AccountDocId DRi
Updates the value of attribute 'AccountDocId' in the specified entity record.
The following elements are required:
| dRiKey | (string) DRi. |
| 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 ClassificationType DRiDetail
Updates the value of attribute 'ClassificationType' in the specified entity record.
The following elements are required:
| dRiKey | (string) DRi. |
| 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 DRi
Updates the value of attribute 'Company' in the specified entity record.
The following elements are required:
| dRiKey | (string) DRi. |
| 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 DRiResume
Updates the value of attribute 'ContributionValue' in the specified entity record.
The following elements are required:
| dRiKey | (string) DRi. |
| 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 DRi
Updates the value of attribute 'Currency' in the specified entity record.
The following elements are required:
| dRiKey | (string) DRi. |
| 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 DRiDetail
Updates the value of attribute 'Currency' in the specified entity record.
The following elements are required:
| dRiKey | (string) DRi. |
| 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 DRiResume
Updates the value of attribute 'Currency' in the specified entity record.
The following elements are required:
| dRiKey | (string) DRi. |
| 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 DRiDetail
Updates the value of attribute 'Days' in the specified entity record.
The following elements are required:
| dRiKey | (string) DRi. |
| 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 DeliveryDate DRi
Updates the value of attribute 'DeliveryDate' in the specified entity record.
The following elements are required:
| dRiKey | (string) DRi. |
| 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 DRi
Updates the value of attribute 'Description' in the specified entity record.
The following elements are required:
| dRiKey | (string) DRi. |
| 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 DRiKey DRi
Updates the value of attribute 'DRiKey' in the specified entity record.
The following elements are required:
| dRiKey | (string) DRi. |
| 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 DRiState DRi
Updates the value of attribute 'DRiState' in the specified entity record.
The following elements are required:
| dRiKey | (string) DRi. |
| 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 DRiDetail
Updates the value of attribute 'Earnings' in the specified entity record.
The following elements are required:
| dRiKey | (string) DRi. |
| 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 DRiResume
Updates the value of attribute 'EarningValue' in the specified entity record.
The following elements are required:
| dRiKey | (string) DRi. |
| 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 DRiDetail
Updates the value of attribute 'Employee' in the specified entity record.
The following elements are required:
| dRiKey | (string) DRi. |
| 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 Independent DRiDetail
Updates the value of attribute 'Independent' in the specified entity record.
The following elements are required:
| dRiKey | (string) DRi. |
| 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 DRi
Updates the value of attribute 'IsActive' in the specified entity record.
The following elements are required:
| dRiKey | (string) DRi. |
| 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 DRiDetail
Updates the value of attribute 'IsCalculated' in the specified entity record.
The following elements are required:
| dRiKey | (string) DRi. |
| 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 IsIntegrated DRi
Updates the value of attribute 'IsIntegrated' in the specified entity record.
The following elements are required:
| dRiKey | (string) DRi. |
| 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 DRiDetail
Updates the value of attribute 'IsModified' in the specified entity record.
The following elements are required:
| dRiKey | (string) DRi. |
| 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 IsSubmited DRi
Updates the value of attribute 'IsSubmited' in the specified entity record.
The following elements are required:
| dRiKey | (string) DRi. |
| 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 IsSubmitedWithErrors DRi
Updates the value of attribute 'IsSubmitedWithErrors' in the specified entity record.
The following elements are required:
| dRiKey | (string) DRi. |
| 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 DRiDetail
Updates the value of attribute 'Nature' in the specified entity record.
The following elements are required:
| dRiKey | (string) DRi. |
| 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 DRi
Updates the value of attribute 'Period' in the specified entity record.
The following elements are required:
| dRiKey | (string) DRi. |
| 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 DRiDetail
Updates the value of attribute 'Period' in the specified entity record.
The following elements are required:
| dRiKey | (string) DRi. |
| 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 Signal DRiDetail
Updates the value of attribute 'Signal' in the specified entity record.
The following elements are required:
| dRiKey | (string) DRi. |
| 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 DRiDetail
Updates the value of attribute 'SubscriberId' in the specified entity record.
The following elements are required:
| dRiKey | (string) DRi. |
| 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 DRiDetail
Updates the value of attribute 'Tax' in the specified entity record.
The following elements are required:
| dRiKey | (string) DRi. |
| 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 DRiResume
Updates the value of attribute 'Tax' in the specified entity record.
The following elements are required:
| dRiKey | (string) DRi. |
| 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 TotContribProcessed DRi
Updates the value of attribute 'TotContribProcessed' in the specified entity record.
The following elements are required:
| dRiKey | (string) DRi. |
| 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 TotRoundingDiference DRi
Updates the value of attribute 'TotRoundingDiference' in the specified entity record.
The following elements are required:
| dRiKey | (string) DRi. |
| 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 TotWorkLocContribTax DRi
Updates the value of attribute 'TotWorkLocContribTax' in the specified entity record.
The following elements are required:
| dRiKey | (string) DRi. |
| 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 DRiDetail
Updates the value of attribute 'WorkLocation' in the specified entity record.
The following elements are required:
| dRiKey | (string) DRi. |
| 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 DRiResume
Updates the value of attribute 'WorkLocation' in the specified entity record.
The following elements are required:
| dRiKey | (string) DRi. |
| 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 DRi Detail by identifier
Deletes the entity record that matches the specified identifier.
The following elements are required:
| dRiKey | (string) DRi. |
| 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 D Ri Resume by identifier
Deletes the entity record that matches the specified identifier.
The following elements are required:
| dRiKey | (string) DRi. |
| 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 DRi 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 DRi by key
Deletes the entity record that matches the specified key.
The following elements are required:
| companyKey | (string) The company key. |
| dRiKey | (string) DRi. |
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
ApiDRiDRiDetailsProcessingDetailsResource
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. |
ApiDRiDRiDetailsResource
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. |
| independent | (bool) Independent. |
| currency | (string) Currency. |
| isCalculated | (bool) Is Calculated. |
| isModified | (bool) Modified. |
The following elements are optional:
| days | (decimal) Days. |
| signal | (string) Signal. |
| processingDetails | (List of ApiDRiDRiDetailsProcessingDetailsResource) Processing Details.
See ApiDRiDRiDetailsProcessingDetailsResource. |
| classificationType | (string) Classification Type. |
ApiDRiDRiResumesResource
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. |
ApiDRiResource
The following elements are required:
| dRiKey | (string) DRi. |
| period | (DateTime) Period. |
| company | (string) Company. |
| currency | (string) Currency. |
| totContribProcessed | (MoneyResource) Total Contribution Processed.
See MoneyResource . |
| totWorkLocContribTax | (MoneyResource) Total Work Location Contrib. / Tax.
See MoneyResource . |
| totRoundingDiference | (MoneyResource) Total Rounding Diference.
See MoneyResource . |
| isIntegrated | (bool) Integrated. |
| isSubmited | (bool) Is Submitted. |
The following elements are optional:
| dRiState | (enum DriState) State.
See DriState. |
| description | (string) Description. |
| deliveryDate | (DateTime) Delivery Date. |
| dRiDetails | (List of ApiDRiDRiDetailsResource) D Ri Details.
See ApiDRiDRiDetailsResource. |
| dRiResumes | (List of ApiDRiDRiResumesResource) D Ri Resumes.
See ApiDRiDRiResumesResource. |
| accountDocId | (Guid) Account Doc Id. |
| accountDoc | (string) Accounting document. |
| isSubmitedWithErrors | (bool) Submitted With Errors. |
DRiDetailResource
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. |
| independent | (bool) Independent. |
| currency | (string) Currency. |
| isCalculated | (bool) Is Calculated. |
| isModified | (bool) Modified. |
The following elements are optional:
| days | (decimal) Days. |
| signal | (string) Signal. |
| processingDetails | (List of DRiProcessingDetailResource) Processing Details.
See DRiProcessingDetailResource. |
| classificationType | (string) Classification Type. |
DriMainDRiDetailsResource
The following elements are required:
| currency | (string) Currency. |
| earnings | (MoneyResource) Earnings.
See MoneyResource . |
| employee | (string) Employee. |
| independent | (bool) Independent. |
| 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. |
DriMainDRiResumesResource
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. |
DriMainResource
The following elements are required:
| company | (string) Company. |
| currency | (string) Currency. |
| dRiKey | (string) DRi. |
| period | (DateTime) Period. |
| totContribProcessed | (MoneyResource) Total Contribution Processed.
See MoneyResource . |
| totRoundingDiference | (MoneyResource) Total Rounding Diference.
See MoneyResource . |
| totWorkLocContribTax | (MoneyResource) Total Work Location Contrib. / Tax.
See MoneyResource . |
| isIntegrated | (bool) Integrated. |
| isSubmited | (bool) Is Submitted. |
The following elements are optional:
| deliveryDate | (DateTime) Delivery Date. |
| description | (string) Description. |
| dRiDetails | (List of DriMainDRiDetailsResource) D Ri Details.
See DriMainDRiDetailsResource. |
| dRiState | (enum DriState) State.
See DriState. |
| dRiResumes | (List of DriMainDRiResumesResource) D Ri Resumes.
See DriMainDRiResumesResource. |
| accountDoc | (string) Accounting document. |
| isSubmitedWithErrors | (bool) Submitted With Errors. |
DRiProcessingDetailResource
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. |
DRiResource
The following elements are required:
| dRiKey | (string) DRi. |
| 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. |
| totContribProcessed | (MoneyResource) Total Contribution Processed.
See MoneyResource . |
| totWorkLocContribTax | (MoneyResource) Total Work Location Contrib. / Tax.
See MoneyResource . |
| totRoundingDiference | (MoneyResource) Total Rounding Diference.
See MoneyResource . |
| isIntegrated | (bool) Integrated. |
| isSubmited | (bool) Is Submitted. |
The following elements are optional:
| dRiState | (enum DriState) State.
See DriState. |
| description | (string) Description. |
| deliveryDate | (DateTime) Delivery Date. |
| dRiDetails | (List of DRiDetailResource) D Ri Details.
See DRiDetailResource. |
| dRiResumes | (List of DRiResumeResource) D Ri Resumes.
See DRiResumeResource. |
| accountDocId | (Guid) Account Doc Id. |
| accountDoc | (string) Accounting document. |
| isSubmitedWithErrors | (bool) Submitted With Errors. |
| deliveryId | (string) Delivery Id. |
DRiResumeResource
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. |
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.