DELETE v1/imports/billing-items
Delete Division Billing Items
Request Information
URI Parameters
None.
Body Parameters
The items to delete.
Collection of DivisionBillingItemDeleteDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Key | GlobalEntityKeyOfIDivisionBillingItem |
None. |
|
| ItemCode | string |
None. |
|
| DivisionCode | string |
None. |
|
| CompanyCode | string |
Required |
Request Formats
application/json, text/json
Sample:
[
{
"key": "<empty>",
"itemCode": "sample string 1",
"divisionCode": "sample string 2",
"companyCode": "sample string 3"
},
{
"key": "<empty>",
"itemCode": "sample string 1",
"divisionCode": "sample string 2",
"companyCode": "sample string 3"
}
]
text/xml
Sample:
<ArrayOfDivisionBillingItemDeleteDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BDBPayroll.Integration.ServiceContracts.Data.Models">
<DivisionBillingItemDeleteDTO>
<CompanyCode>sample string 3</CompanyCode>
<DivisionCode>sample string 2</DivisionCode>
<ItemCode>sample string 1</ItemCode>
<Key xmlns:d3p1="http://schemas.datacontract.org/2004/07/BDBPayroll.Services.Data.Shared.Keys">
<d3p1:_entityKey>
<d3p1:_hasValue>false</d3p1:_hasValue>
<d3p1:_value>00000000-0000-0000-0000-000000000000</d3p1:_value>
</d3p1:_entityKey>
</Key>
</DivisionBillingItemDeleteDTO>
<DivisionBillingItemDeleteDTO>
<CompanyCode>sample string 3</CompanyCode>
<DivisionCode>sample string 2</DivisionCode>
<ItemCode>sample string 1</ItemCode>
<Key xmlns:d3p1="http://schemas.datacontract.org/2004/07/BDBPayroll.Services.Data.Shared.Keys">
<d3p1:_entityKey>
<d3p1:_hasValue>false</d3p1:_hasValue>
<d3p1:_value>00000000-0000-0000-0000-000000000000</d3p1:_value>
</d3p1:_entityKey>
</Key>
</DivisionBillingItemDeleteDTO>
</ArrayOfDivisionBillingItemDeleteDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
The results of the import.
ImportResultDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| NewRecords | integer |
None. |
|
| UpdatedRecords | integer |
None. |
|
| Errors | Collection of ImportErrorDTO |
None. |
|
| NewRecordKeys | Collection of ImportKeyDTO |
None. |
|
| UpdatedRecordKeys | Collection of ImportKeyDTO |
None. |
|
| ImportKey | GlobalEntityKeyOfIImportSubmission |
None. |
Response Formats
application/json, text/json, text/xml
Sample:
Sample not available.