PUT api/Provider/Update
Request Information
URI Parameters
None.
Body Parameters
ProviderModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
None. |
|
| Address | string |
None. |
|
| ImageURL | string |
None. |
|
| CountryId | integer |
None. |
|
| Id | globally unique identifier |
None. |
|
| Detail | string |
None. |
|
| IsActive | boolean |
None. |
|
| CreatedBy | globally unique identifier |
None. |
|
| CreatedDate | date |
None. |
|
| ModifiedBy | globally unique identifier |
None. |
|
| ModifiedDate | date |
None. |
|
| DeletedBy | globally unique identifier |
None. |
|
| DeletedDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"Address": "sample string 2",
"ImageURL": "sample string 3",
"CountryId": 4,
"Id": "5f5736a1-07c1-4206-a220-59289267a19a",
"Detail": "sample string 6",
"IsActive": true,
"CreatedBy": "5004ad89-7f3e-4e77-8965-826468f2f032",
"CreatedDate": "2025-12-11T00:37:30.64506-08:00",
"ModifiedBy": "bd390edb-2073-4e03-b97e-a59378870ef0",
"ModifiedDate": "2025-12-11T00:37:30.64506-08:00",
"DeletedBy": "b53b27b3-40c7-444d-8d43-d319aa854063",
"DeletedDate": "2025-12-11T00:37:30.64506-08:00"
}
application/xml, text/xml
Sample:
<ProviderModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Inventory"> <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">5004ad89-7f3e-4e77-8965-826468f2f032</CreatedBy> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-12-11T00:37:30.64506-08:00</CreatedDate> <DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">b53b27b3-40c7-444d-8d43-d319aa854063</DeletedBy> <DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-12-11T00:37:30.64506-08:00</DeletedDate> <Detail xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">sample string 6</Detail> <Id xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">5f5736a1-07c1-4206-a220-59289267a19a</Id> <IsActive xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">true</IsActive> <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">bd390edb-2073-4e03-b97e-a59378870ef0</ModifiedBy> <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-12-11T00:37:30.64506-08:00</ModifiedDate> <Address>sample string 2</Address> <CountryId>4</CountryId> <ImageURL>sample string 3</ImageURL> <Name>sample string 1</Name> </ProviderModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | 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. |