Retrieve Company Info
GEThttps://embedded.runalloy.com/2024-03/one/accounting/company-info/:id
Retrieve Company Info with the given id.
Request
Path Parameters
id stringrequired
The ID of the company info.
Query Parameters
connectionId stringrequired
The ID of the connection.
Header Parameters
Authorization stringrequired
Default value: bearer YOUR_API_KEY
Responses
- 200
- 400
200
- application/json
- Schema
- Example (from schema)
- Result
Schema
companyInfo
object
{
"companyInfo": {
"id": "00000000-0000-0000-0000-000000000000",
"remoteId": "1",
"companyName": "Dave Testing",
"companyLegalName": "John",
"taxNumber": {},
"fiscalYearEndMonth": {},
"fiscalYearEndDay": {},
"currency": "USD",
"companyUrls": [
null
],
"companyAddresses": [
{
"addressType": "COMPANY",
"street1": "testtt",
"street2": "testtt",
"city": "Palo Alto",
"state": "CA",
"countrySubdivision": "CA",
"zipCode": "94303"
}
],
"companyPhoneNumbers": [
{
"phoneNumber": "+1 948-442-3532",
"phoneNumberType": "PRIMARY"
}
],
"remoteDeleted": false,
"createdAt": "2024-02-22T11:12:35.767Z",
"updatedAt": "2024-02-22T13:45:31.210Z"
}
}
{
"companyInfo": {
"id": "00000000-0000-0000-0000-000000000000",
"remoteId": "1",
"companyName": "Dave Testing",
"companyLegalName": "John",
"taxNumber": null,
"fiscalYearEndMonth": null,
"fiscalYearEndDay": null,
"currency": "USD",
"companyUrls": [],
"companyAddresses": [
{
"addressType": "COMPANY",
"street1": "testtt",
"street2": "testtt",
"city": "Palo Alto",
"state": "CA",
"countrySubdivision": "CA",
"zipCode": "94303"
},
{
"addressType": "CUSTOMER_COMMUNICATION",
"street1": "6401 Bluebonnet Blvd",
"street2": "6401 Bluebonnet Blvd",
"city": "Denver",
"state": "4",
"countrySubdivision": "4",
"zipCode": "363001"
},
{
"addressType": "LEGAL",
"street1": "testtt",
"street2": "testtt",
"city": "Palo Alto",
"state": "CA",
"countrySubdivision": "CA",
"zipCode": "94303"
}
],
"companyPhoneNumbers": [
{
"phoneNumber": "+1 948-442-3532",
"phoneNumberType": "PRIMARY"
}
],
"remoteDeleted": false,
"createdAt": "2024-02-22T11:12:35.767Z",
"updatedAt": "2024-02-22T13:45:31.210Z"
}
}
400
- application/json
- Schema
- Example (from schema)
- Result
Schema
object
{}
{}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L 'https://embedded.runalloy.com/2024-03/one/accounting/company-info/:id' \
-H 'Accept: application/json'
ResponseClear