Created a company location
Invalid Company id or Invalid Company Location
Location
{- "name": "Smartapp HQ",
- "companyUniqueID": "00000000-0000-0000-0000-000000000000",
- "isHeadquarters": true,
- "street1": "1350 division road",
- "street2": null,
- "city": "West Warwick",
- "state": "Rhode Island",
- "zipCode": 2893,
- "fax": "+1-212-9876543",
- "phoneNumber": 8002544050
}
{- "name": "smartapp.com",
- "uniqueID": "00000000-0000-0000-0000-000000000000",
- "companyUniqueID": "00000000-0000-0000-0000-000000000000",
- "isHeadquarters": true,
- "street1": "1350 Division Road",
- "street2": "string",
- "city": "West Warwick",
- "state": "Rhode Island",
- "country": "USA",
- "zip": "02818",
- "fax": "555-123-4567",
- "phone": "800-254-4050",
- "createdBy": {
- "email": "jdoe@gmail.com",
- "userID": "00000000-0000-0000-0000-000000000000",
- "globalUserID": "00000000-0000-0000-0000-000000000000"
}, - "modifiedBy": {
- "email": "jdoe@gmail.com",
- "userID": "00000000-0000-0000-0000-000000000000",
- "globalUserID": "00000000-0000-0000-0000-000000000000"
}
}
Company location object
Invalid company location Id
{- "name": "smartapp.com",
- "uniqueID": "00000000-0000-0000-0000-000000000000",
- "companyUniqueID": "00000000-0000-0000-0000-000000000000",
- "isHeadquarters": true,
- "street1": "1350 Division Road",
- "street2": "string",
- "city": "West Warwick",
- "state": "Rhode Island",
- "country": "USA",
- "zip": "02818",
- "fax": "555-123-4567",
- "phone": "800-254-4050",
- "createdBy": {
- "email": "jdoe@gmail.com",
- "userID": "00000000-0000-0000-0000-000000000000",
- "globalUserID": "00000000-0000-0000-0000-000000000000"
}, - "modifiedBy": {
- "email": "jdoe@gmail.com",
- "userID": "00000000-0000-0000-0000-000000000000",
- "globalUserID": "00000000-0000-0000-0000-000000000000"
}
}
You can see the list of locations associated to an existing company. You need only supply the unique company identifier that was returned upon company creation.
Company location object
Invalid company Id
[- {
- "name": "smartapp.com",
- "uniqueID": "00000000-0000-0000-0000-000000000000",
- "companyUniqueID": "00000000-0000-0000-0000-000000000000",
- "isHeadquarters": true,
- "street1": "1350 Division Road",
- "street2": "string",
- "city": "West Warwick",
- "state": "Rhode Island",
- "country": "USA",
- "zip": "02818",
- "fax": "555-123-4567",
- "phone": "800-254-4050",
- "createdBy": {
- "email": "jdoe@gmail.com",
- "userID": "00000000-0000-0000-0000-000000000000",
- "globalUserID": "00000000-0000-0000-0000-000000000000"
}, - "modifiedBy": {
- "email": "jdoe@gmail.com",
- "userID": "00000000-0000-0000-0000-000000000000",
- "globalUserID": "00000000-0000-0000-0000-000000000000"
}
}
]
Updates the specified company location by setting the values for the parameters passed. Any parameters not provided will be left unchanged. For example, if you pass the street1 parameter, that becomes street1 and is usedin the future
company location was updated
Invalid company location Id or Invalid Company Location
Location
{- "name": "smartapp.com",
- "uniqueID": "00000000-0000-0000-0000-000000000000",
- "companyUniqueID": "00000000-0000-0000-0000-000000000000",
- "isHeadquarters": true,
- "street1": "1350 Division Road",
- "street2": "string",
- "city": "West Warwick",
- "state": "Rhode Island",
- "country": "USA",
- "zip": "02818",
- "fax": "555-123-4567",
- "phone": "800-254-4050",
- "createdBy": {
- "email": "jdoe@gmail.com",
- "userID": "00000000-0000-0000-0000-000000000000",
- "globalUserID": "00000000-0000-0000-0000-000000000000"
}, - "modifiedBy": {
- "email": "jdoe@gmail.com",
- "userID": "00000000-0000-0000-0000-000000000000",
- "globalUserID": "00000000-0000-0000-0000-000000000000"
}
}