POST v1/imports/company-tax-jurisdictions?action={action}&allowSameFile={allowSameFile}
Import Company Tax Jurisdictions
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
action |
The import action. |
ImportAction |
Default value is Update |
allowSameFile |
Determines if the import allows the content to be imported multiple times |
boolean |
Default value is True |
Body Parameters
The items to import.
Collection of CompanyTaxJurisdictionImportDTOName | Description | Type | Additional information |
---|---|---|---|
TaxJurisdictionCode | string |
Required |
|
EIN | string |
Required |
|
CompanyCode | string |
Required |
Request Formats
application/json, text/json
Sample:
[ { "taxJurisdictionCode": "sample string 1", "ein": "sample string 2", "companyCode": "sample string 3" }, { "taxJurisdictionCode": "sample string 1", "ein": "sample string 2", "companyCode": "sample string 3" } ]
text/xml
Sample:
<ArrayOfCompanyTaxJurisdictionImportDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BDBPayroll.Integration.ServiceContracts.Data.Models"> <CompanyTaxJurisdictionImportDTO> <CompanyCode>sample string 3</CompanyCode> <EIN>sample string 2</EIN> <TaxJurisdictionCode>sample string 1</TaxJurisdictionCode> </CompanyTaxJurisdictionImportDTO> <CompanyTaxJurisdictionImportDTO> <CompanyCode>sample string 3</CompanyCode> <EIN>sample string 2</EIN> <TaxJurisdictionCode>sample string 1</TaxJurisdictionCode> </CompanyTaxJurisdictionImportDTO> </ArrayOfCompanyTaxJurisdictionImportDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
The results of the import.
ImportResultDTOName | 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.