PUT api/Provider/Update
Request Information
URI Parameters
None.
Body Parameters
ProviderModelName | 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": "2bebe546-2778-490d-ad12-674e626536f7", "Detail": "sample string 6", "IsActive": true, "CreatedBy": "d2f934a1-0155-4869-b8c8-f2ff98dfa18f", "CreatedDate": "2024-12-29T09:56:35.9584867-08:00", "ModifiedBy": "7baf6fe3-b422-46b2-83dd-919181c774ca", "ModifiedDate": "2024-12-29T09:56:35.9584867-08:00", "DeletedBy": "3aec8ff3-834d-480e-9144-486b5ead49d3", "DeletedDate": "2024-12-29T09:56:35.9584867-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">d2f934a1-0155-4869-b8c8-f2ff98dfa18f</CreatedBy> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2024-12-29T09:56:35.9584867-08:00</CreatedDate> <DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">3aec8ff3-834d-480e-9144-486b5ead49d3</DeletedBy> <DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2024-12-29T09:56:35.9584867-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">2bebe546-2778-490d-ad12-674e626536f7</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">7baf6fe3-b422-46b2-83dd-919181c774ca</ModifiedBy> <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2024-12-29T09:56:35.9584867-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
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. |