PUT api/v1/clients/sites/{clientSiteUid}
Update the client site by the specified client site UID.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| clientSiteUid |
The client site UID. |
globally unique identifier |
Required |
Body Parameters
The client site.
ClientSite| Name | Description | Type | Additional information |
|---|---|---|---|
| Name |
The client sitename. |
string |
Required |
| AddressLine1 |
The client site address line 1. |
string |
String length: inclusive between 0 and 100 |
| AddressLine2 |
The client site address line 2. |
string |
String length: inclusive between 0 and 100 |
| AddressLine3 |
The client site address line 3. |
string |
String length: inclusive between 0 and 100 |
| AddressLine4 |
The client site address line 4. |
string |
String length: inclusive between 0 and 100 |
| PostCode |
The client site postcode. |
string |
String length: inclusive between 0 and 50 |
| Country |
The client site country. |
string |
String length: inclusive between 0 and 100 |
| Telephone |
The client site telephone number. |
string |
String length: inclusive between 0 and 100 |
| Fax |
The client site fax number. |
string |
String length: inclusive between 0 and 100 |
|
The client site email address. |
string |
String length: inclusive between 0 and 100 |
Request Formats
application/json, text/json
{
"Name": "sample string 1",
"AddressLine1": "sample string 2",
"AddressLine2": "sample string 3",
"AddressLine3": "sample string 4",
"AddressLine4": "sample string 5",
"PostCode": "sample string 6",
"Country": "sample string 7",
"Telephone": "sample string 8",
"Fax": "sample string 9",
"Email": "sample string 10"
}
application/xml, text/xml
<ClientSite xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Eclipse.WebApi.Common.Models"> <AddressLine1>sample string 2</AddressLine1> <AddressLine2>sample string 3</AddressLine2> <AddressLine3>sample string 4</AddressLine3> <AddressLine4>sample string 5</AddressLine4> <Country>sample string 7</Country> <Email>sample string 10</Email> <Fax>sample string 9</Fax> <Name>sample string 1</Name> <PostCode>sample string 6</PostCode> <Telephone>sample string 8</Telephone> </ClientSite>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
Returns the updated client site.
ClientSiteViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Name |
The client sitename. |
string |
None. |
| AddressLine1 |
The client site address line 1. |
string |
None. |
| AddressLine2 |
The client site address line 2. |
string |
None. |
| AddressLine3 |
The client site address line 3. |
string |
None. |
| AddressLine4 |
The client site address line 4. |
string |
None. |
| PostCode |
The client site postcode. |
string |
None. |
| Country |
The client site country. |
string |
None. |
| Telephone |
The client site telephone number. |
string |
None. |
| Fax |
The client site fax number. |
string |
None. |
|
The client site email address. |
string |
None. |
|
| Client |
The client. |
ClientViewModel |
None. |
| ClientSiteGuid |
The unique guid for the client site |
globally unique identifier |
None. |
| Uid |
The GUID. |
globally unique identifier |
None. |
| Links |
The links. |
Collection of Link |
None. |
| DateUpdated |
Last time the record was updated |
date |
None. |
| UpdatedBy |
Who updated the record last |
string |
None. |
Response Formats
application/json, text/json
{
"Name": "sample string 1",
"AddressLine1": "sample string 2",
"AddressLine2": "sample string 3",
"AddressLine3": "sample string 4",
"AddressLine4": "sample string 5",
"PostCode": "sample string 6",
"Country": "sample string 7",
"Telephone": "sample string 8",
"Fax": "sample string 9",
"Email": "sample string 10",
"Client": {
"AddressLine1": "sample string 1",
"AddressLine2": "sample string 2",
"AddressLine3": "sample string 3",
"AddressLine4": "sample string 4",
"Name": "sample string 5",
"PostCode": "sample string 6",
"Country": {
"Iso3Code": "sample string 1",
"Name": "sample string 2",
"Portal": {
"Name": "sample string 1",
"Uid": "bceae8bc-e0dd-44cb-b779-9faec27a3d84",
"Links": [
{
"Href": "http://webapihelppage1.com",
"Method": "sample string 2",
"Rel": "sample string 3",
"Title": "sample string 4",
"Type": "sample string 5"
},
{
"Href": "http://webapihelppage1.com",
"Method": "sample string 2",
"Rel": "sample string 3",
"Title": "sample string 4",
"Type": "sample string 5"
}
],
"DateUpdated": "2025-12-21T17:53:36.7372071+00:00",
"UpdatedBy": "sample string 3"
},
"CountryGuid": "74c646ed-fc27-4bdb-87cc-1aac05ae8106",
"Uid": "a30b7036-fa40-4ba4-a40d-5899593d2a9a",
"Links": [
{
"Href": "http://webapihelppage1.com",
"Method": "sample string 2",
"Rel": "sample string 3",
"Title": "sample string 4",
"Type": "sample string 5"
},
{
"Href": "http://webapihelppage1.com",
"Method": "sample string 2",
"Rel": "sample string 3",
"Title": "sample string 4",
"Type": "sample string 5"
}
],
"DateUpdated": "2025-12-21T17:53:36.7372071+00:00",
"UpdatedBy": "sample string 5"
},
"Company": {
"Name": "sample string 1",
"AddressLine1": "sample string 2",
"AddressLine2": "sample string 3",
"AddressLine3": "sample string 4",
"AddressLine4": "sample string 5",
"PostCode": "sample string 6",
"Country": {
"Iso3Code": "sample string 1",
"Name": "sample string 2",
"Portal": {
"Name": "sample string 1",
"Uid": "bceae8bc-e0dd-44cb-b779-9faec27a3d84",
"Links": [
{
"Href": "http://webapihelppage1.com",
"Method": "sample string 2",
"Rel": "sample string 3",
"Title": "sample string 4",
"Type": "sample string 5"
},
{
"Href": "http://webapihelppage1.com",
"Method": "sample string 2",
"Rel": "sample string 3",
"Title": "sample string 4",
"Type": "sample string 5"
}
],
"DateUpdated": "2025-12-21T17:53:36.7372071+00:00",
"UpdatedBy": "sample string 3"
},
"CountryGuid": "74c646ed-fc27-4bdb-87cc-1aac05ae8106",
"Uid": "a30b7036-fa40-4ba4-a40d-5899593d2a9a",
"Links": [
{
"Href": "http://webapihelppage1.com",
"Method": "sample string 2",
"Rel": "sample string 3",
"Title": "sample string 4",
"Type": "sample string 5"
},
{
"Href": "http://webapihelppage1.com",
"Method": "sample string 2",
"Rel": "sample string 3",
"Title": "sample string 4",
"Type": "sample string 5"
}
],
"DateUpdated": "2025-12-21T17:53:36.7372071+00:00",
"UpdatedBy": "sample string 5"
},
"Latitude": "sample string 7",
"Longitude": "sample string 8",
"PortalUid": "249f820b-ea57-4dc8-b6df-469922d33817",
"PortalGuid": "1c5623f2-cb47-4df2-a9e4-d4691b56e0f1",
"CompanyGuid": "dc727d42-f862-42a4-a82d-dd7faf740df4",
"Uid": "f4fd5a2c-f826-4e99-9b74-c5d78b92453c",
"Links": [
{
"Href": "http://webapihelppage1.com",
"Method": "sample string 2",
"Rel": "sample string 3",
"Title": "sample string 4",
"Type": "sample string 5"
},
{
"Href": "http://webapihelppage1.com",
"Method": "sample string 2",
"Rel": "sample string 3",
"Title": "sample string 4",
"Type": "sample string 5"
}
],
"DateUpdated": "2025-12-21T17:53:36.7372071+00:00",
"UpdatedBy": "sample string 13"
},
"ReferenceNumber": "sample string 7",
"TimesheetNotificationAddress": "sample string 8",
"ClientGuid": "e8badbf1-8620-4037-b475-d68f5f3fcc9e",
"Uid": "8acaa6ed-263e-4b7f-9371-2ee3e690ee67",
"Links": [
{
"Href": "http://webapihelppage1.com",
"Method": "sample string 2",
"Rel": "sample string 3",
"Title": "sample string 4",
"Type": "sample string 5"
},
{
"Href": "http://webapihelppage1.com",
"Method": "sample string 2",
"Rel": "sample string 3",
"Title": "sample string 4",
"Type": "sample string 5"
}
],
"DateUpdated": "2025-12-21T17:53:36.7372071+00:00",
"UpdatedBy": "sample string 11"
},
"ClientSiteGuid": "0be9cf74-dbe5-41e4-9667-88ba22c710a9",
"Uid": "3d214a9c-dd2f-43f4-bd99-09b1ca7d36b3",
"Links": [
{
"Href": "http://webapihelppage1.com",
"Method": "sample string 2",
"Rel": "sample string 3",
"Title": "sample string 4",
"Type": "sample string 5"
},
{
"Href": "http://webapihelppage1.com",
"Method": "sample string 2",
"Rel": "sample string 3",
"Title": "sample string 4",
"Type": "sample string 5"
}
],
"DateUpdated": "2025-12-21T17:53:36.7372071+00:00",
"UpdatedBy": "sample string 13"
}
application/xml, text/xml
<ClientSiteViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Eclipse.WebApi.Common.ViewModels">
<DateUpdated>2025-12-21T17:53:36.7372071+00:00</DateUpdated>
<Links xmlns:d2p1="http://schemas.datacontract.org/2004/07/Eclipse.WebApi.Common.Models">
<d2p1:Link>
<d2p1:Href>http://webapihelppage1.com/</d2p1:Href>
<d2p1:Method>sample string 2</d2p1:Method>
<d2p1:Rel>sample string 3</d2p1:Rel>
<d2p1:Title>sample string 4</d2p1:Title>
<d2p1:Type>sample string 5</d2p1:Type>
</d2p1:Link>
<d2p1:Link>
<d2p1:Href>http://webapihelppage1.com/</d2p1:Href>
<d2p1:Method>sample string 2</d2p1:Method>
<d2p1:Rel>sample string 3</d2p1:Rel>
<d2p1:Title>sample string 4</d2p1:Title>
<d2p1:Type>sample string 5</d2p1:Type>
</d2p1:Link>
</Links>
<Uid>3d214a9c-dd2f-43f4-bd99-09b1ca7d36b3</Uid>
<UpdatedBy>sample string 13</UpdatedBy>
<AddressLine1>sample string 2</AddressLine1>
<AddressLine2>sample string 3</AddressLine2>
<AddressLine3>sample string 4</AddressLine3>
<AddressLine4>sample string 5</AddressLine4>
<Client>
<DateUpdated>2025-12-21T17:53:36.7372071+00:00</DateUpdated>
<Links xmlns:d3p1="http://schemas.datacontract.org/2004/07/Eclipse.WebApi.Common.Models">
<d3p1:Link>
<d3p1:Href>http://webapihelppage1.com/</d3p1:Href>
<d3p1:Method>sample string 2</d3p1:Method>
<d3p1:Rel>sample string 3</d3p1:Rel>
<d3p1:Title>sample string 4</d3p1:Title>
<d3p1:Type>sample string 5</d3p1:Type>
</d3p1:Link>
<d3p1:Link>
<d3p1:Href>http://webapihelppage1.com/</d3p1:Href>
<d3p1:Method>sample string 2</d3p1:Method>
<d3p1:Rel>sample string 3</d3p1:Rel>
<d3p1:Title>sample string 4</d3p1:Title>
<d3p1:Type>sample string 5</d3p1:Type>
</d3p1:Link>
</Links>
<Uid>8acaa6ed-263e-4b7f-9371-2ee3e690ee67</Uid>
<UpdatedBy>sample string 11</UpdatedBy>
<AddressLine1>sample string 1</AddressLine1>
<AddressLine2>sample string 2</AddressLine2>
<AddressLine3>sample string 3</AddressLine3>
<AddressLine4>sample string 4</AddressLine4>
<ClientGuid>e8badbf1-8620-4037-b475-d68f5f3fcc9e</ClientGuid>
<Company>
<DateUpdated>2025-12-21T17:53:36.7372071+00:00</DateUpdated>
<Links xmlns:d4p1="http://schemas.datacontract.org/2004/07/Eclipse.WebApi.Common.Models">
<d4p1:Link>
<d4p1:Href>http://webapihelppage1.com/</d4p1:Href>
<d4p1:Method>sample string 2</d4p1:Method>
<d4p1:Rel>sample string 3</d4p1:Rel>
<d4p1:Title>sample string 4</d4p1:Title>
<d4p1:Type>sample string 5</d4p1:Type>
</d4p1:Link>
<d4p1:Link>
<d4p1:Href>http://webapihelppage1.com/</d4p1:Href>
<d4p1:Method>sample string 2</d4p1:Method>
<d4p1:Rel>sample string 3</d4p1:Rel>
<d4p1:Title>sample string 4</d4p1:Title>
<d4p1:Type>sample string 5</d4p1:Type>
</d4p1:Link>
</Links>
<Uid>f4fd5a2c-f826-4e99-9b74-c5d78b92453c</Uid>
<UpdatedBy>sample string 13</UpdatedBy>
<AddressLine1>sample string 2</AddressLine1>
<AddressLine2>sample string 3</AddressLine2>
<AddressLine3>sample string 4</AddressLine3>
<AddressLine4>sample string 5</AddressLine4>
<CompanyGuid>dc727d42-f862-42a4-a82d-dd7faf740df4</CompanyGuid>
<Country>
<DateUpdated>2025-12-21T17:53:36.7372071+00:00</DateUpdated>
<Links xmlns:d5p1="http://schemas.datacontract.org/2004/07/Eclipse.WebApi.Common.Models">
<d5p1:Link>
<d5p1:Href>http://webapihelppage1.com/</d5p1:Href>
<d5p1:Method>sample string 2</d5p1:Method>
<d5p1:Rel>sample string 3</d5p1:Rel>
<d5p1:Title>sample string 4</d5p1:Title>
<d5p1:Type>sample string 5</d5p1:Type>
</d5p1:Link>
<d5p1:Link>
<d5p1:Href>http://webapihelppage1.com/</d5p1:Href>
<d5p1:Method>sample string 2</d5p1:Method>
<d5p1:Rel>sample string 3</d5p1:Rel>
<d5p1:Title>sample string 4</d5p1:Title>
<d5p1:Type>sample string 5</d5p1:Type>
</d5p1:Link>
</Links>
<Uid>a30b7036-fa40-4ba4-a40d-5899593d2a9a</Uid>
<UpdatedBy>sample string 5</UpdatedBy>
<CountryGuid>74c646ed-fc27-4bdb-87cc-1aac05ae8106</CountryGuid>
<Iso3Code>sample string 1</Iso3Code>
<Name>sample string 2</Name>
<Portal>
<DateUpdated>2025-12-21T17:53:36.7372071+00:00</DateUpdated>
<Links xmlns:d6p1="http://schemas.datacontract.org/2004/07/Eclipse.WebApi.Common.Models">
<d6p1:Link>
<d6p1:Href>http://webapihelppage1.com/</d6p1:Href>
<d6p1:Method>sample string 2</d6p1:Method>
<d6p1:Rel>sample string 3</d6p1:Rel>
<d6p1:Title>sample string 4</d6p1:Title>
<d6p1:Type>sample string 5</d6p1:Type>
</d6p1:Link>
<d6p1:Link>
<d6p1:Href>http://webapihelppage1.com/</d6p1:Href>
<d6p1:Method>sample string 2</d6p1:Method>
<d6p1:Rel>sample string 3</d6p1:Rel>
<d6p1:Title>sample string 4</d6p1:Title>
<d6p1:Type>sample string 5</d6p1:Type>
</d6p1:Link>
</Links>
<Uid>bceae8bc-e0dd-44cb-b779-9faec27a3d84</Uid>
<UpdatedBy>sample string 3</UpdatedBy>
<Name>sample string 1</Name>
</Portal>
</Country>
<Latitude>sample string 7</Latitude>
<Longitude>sample string 8</Longitude>
<Name>sample string 1</Name>
<PortalGuid>1c5623f2-cb47-4df2-a9e4-d4691b56e0f1</PortalGuid>
<PortalUid>249f820b-ea57-4dc8-b6df-469922d33817</PortalUid>
<PostCode>sample string 6</PostCode>
</Company>
<Country>
<DateUpdated>2025-12-21T17:53:36.7372071+00:00</DateUpdated>
<Links xmlns:d4p1="http://schemas.datacontract.org/2004/07/Eclipse.WebApi.Common.Models">
<d4p1:Link>
<d4p1:Href>http://webapihelppage1.com/</d4p1:Href>
<d4p1:Method>sample string 2</d4p1:Method>
<d4p1:Rel>sample string 3</d4p1:Rel>
<d4p1:Title>sample string 4</d4p1:Title>
<d4p1:Type>sample string 5</d4p1:Type>
</d4p1:Link>
<d4p1:Link>
<d4p1:Href>http://webapihelppage1.com/</d4p1:Href>
<d4p1:Method>sample string 2</d4p1:Method>
<d4p1:Rel>sample string 3</d4p1:Rel>
<d4p1:Title>sample string 4</d4p1:Title>
<d4p1:Type>sample string 5</d4p1:Type>
</d4p1:Link>
</Links>
<Uid>a30b7036-fa40-4ba4-a40d-5899593d2a9a</Uid>
<UpdatedBy>sample string 5</UpdatedBy>
<CountryGuid>74c646ed-fc27-4bdb-87cc-1aac05ae8106</CountryGuid>
<Iso3Code>sample string 1</Iso3Code>
<Name>sample string 2</Name>
<Portal>
<DateUpdated>2025-12-21T17:53:36.7372071+00:00</DateUpdated>
<Links xmlns:d5p1="http://schemas.datacontract.org/2004/07/Eclipse.WebApi.Common.Models">
<d5p1:Link>
<d5p1:Href>http://webapihelppage1.com/</d5p1:Href>
<d5p1:Method>sample string 2</d5p1:Method>
<d5p1:Rel>sample string 3</d5p1:Rel>
<d5p1:Title>sample string 4</d5p1:Title>
<d5p1:Type>sample string 5</d5p1:Type>
</d5p1:Link>
<d5p1:Link>
<d5p1:Href>http://webapihelppage1.com/</d5p1:Href>
<d5p1:Method>sample string 2</d5p1:Method>
<d5p1:Rel>sample string 3</d5p1:Rel>
<d5p1:Title>sample string 4</d5p1:Title>
<d5p1:Type>sample string 5</d5p1:Type>
</d5p1:Link>
</Links>
<Uid>bceae8bc-e0dd-44cb-b779-9faec27a3d84</Uid>
<UpdatedBy>sample string 3</UpdatedBy>
<Name>sample string 1</Name>
</Portal>
</Country>
<Name>sample string 5</Name>
<PostCode>sample string 6</PostCode>
<ReferenceNumber>sample string 7</ReferenceNumber>
<TimesheetNotificationAddress>sample string 8</TimesheetNotificationAddress>
</Client>
<ClientSiteGuid>0be9cf74-dbe5-41e4-9667-88ba22c710a9</ClientSiteGuid>
<Country>sample string 7</Country>
<Email>sample string 10</Email>
<Fax>sample string 9</Fax>
<Name>sample string 1</Name>
<PostCode>sample string 6</PostCode>
<Telephone>sample string 8</Telephone>
</ClientSiteViewModel>