GET api/taxprofile/{id}
Get Profile By Id
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
|
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Tax Profile
IrsTaxProfileViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Id |
integer |
None. |
| Name |
Profile Name |
string |
None. |
| CompanyName |
Company name |
string |
None. |
| TCC |
TCC code(Control Code) |
string |
None. |
| TaxId |
TIN, Federal Tax Id |
string |
None. |
| AddressId |
Key to the Address obj that holds all the address information of the Tax Profile |
integer |
None. |
| ContactName |
Contact Name |
string |
None. |
| ContactPhone |
Contact Phone |
string |
None. |
| ContactEmail |
Contact Email |
string |
None. |
| CreatedBy |
Creator Id |
integer |
None. |
| CreatedOn |
Date of creation |
date |
None. |
| ModifiedBy |
Id of the user who last modified the profile |
integer |
None. |
| ModifiedOn |
Last Modification date |
date |
None. |
| Address |
Address full object |
AddressViewModel |
None. |
Response Formats
application/json, text/json
{
"id": 1,
"name": "sample string 2",
"companyName": "sample string 3",
"tcc": "sample string 4",
"taxId": "sample string 5",
"addressId": 6,
"contactName": "sample string 7",
"contactPhone": "sample string 8",
"contactEmail": "sample string 9",
"createdBy": 10,
"createdOn": "2025-10-29T04:38:06.5320141-04:00",
"modifiedBy": 1,
"modifiedOn": "2025-10-29T04:38:06.5320141-04:00",
"address": {
"addressId": 1,
"address1": "sample string 2",
"address2": "sample string 3",
"city": "sample string 4",
"state": "sample string 5",
"zipCode": "sample string 6",
"country": "sample string 7"
}
}
application/xml, text/xml
<IrsTaxProfileViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.Controllers.TAX.Models">
<Address xmlns:d2p1="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels">
<Address1 xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.Address">sample string 2</Address1>
<Address2 xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.Address">sample string 3</Address2>
<City xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.Address">sample string 4</City>
<Country xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.Address">sample string 7</Country>
<State xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.Address">sample string 5</State>
<ZipCode xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.Address">sample string 6</ZipCode>
<d2p1:AddressId>1</d2p1:AddressId>
</Address>
<AddressId>6</AddressId>
<CompanyName>sample string 3</CompanyName>
<ContactEmail>sample string 9</ContactEmail>
<ContactName>sample string 7</ContactName>
<ContactPhone>sample string 8</ContactPhone>
<CreatedBy>10</CreatedBy>
<CreatedOn>2025-10-29T04:38:06.5320141-04:00</CreatedOn>
<Id>1</Id>
<ModifiedBy>1</ModifiedBy>
<ModifiedOn>2025-10-29T04:38:06.5320141-04:00</ModifiedOn>
<Name>sample string 2</Name>
<TCC>sample string 4</TCC>
<TaxId>sample string 5</TaxId>
</IrsTaxProfileViewModel>