PATCH api/Users/{userId}/Company/{companyId}/GeoRoles
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
userId | integer |
Required |
|
companyId | integer |
Required |
Body Parameters
Collection of GeoRoleName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
Id | integer |
None. |
|
CreatedDate | date |
None. |
|
CreatedBy | string |
None. |
|
UpdateDate | date |
None. |
|
UpdatedBy | string |
None. |
|
IsActive | boolean |
None. |
Request Formats
application/json, text/json
Sample:
[ { "Name": "sample string 1", "Id": 2, "CreatedDate": "2025-04-03T20:57:58.633526-06:00", "CreatedBy": "sample string 4", "UpdateDate": "2025-04-03T20:57:58.633526-06:00", "UpdatedBy": "sample string 5", "IsActive": true }, { "Name": "sample string 1", "Id": 2, "CreatedDate": "2025-04-03T20:57:58.633526-06:00", "CreatedBy": "sample string 4", "UpdateDate": "2025-04-03T20:57:58.633526-06:00", "UpdatedBy": "sample string 5", "IsActive": true } ]
application/xml, text/xml
Sample:
<ArrayOfGeoRole xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CLMLTEMA.MODELS"> <GeoRole> <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">sample string 4</CreatedBy> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">2025-04-03T20:57:58.633526-06:00</CreatedDate> <Id xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">2</Id> <IsActive xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">true</IsActive> <UpdateDate xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">2025-04-03T20:57:58.633526-06:00</UpdateDate> <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">sample string 5</UpdatedBy> <Name>sample string 1</Name> </GeoRole> <GeoRole> <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">sample string 4</CreatedBy> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">2025-04-03T20:57:58.633526-06:00</CreatedDate> <Id xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">2</Id> <IsActive xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">true</IsActive> <UpdateDate xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">2025-04-03T20:57:58.633526-06:00</UpdateDate> <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">sample string 5</UpdatedBy> <Name>sample string 1</Name> </GeoRole> </ArrayOfGeoRole>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |