POST api/Provider/Create
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": "e55b6b2a-a8c0-49c6-bb32-57bb75d9fa78", "Detail": "sample string 6", "IsActive": true, "CreatedBy": "281ec137-bb47-409f-b198-05510216436e", "CreatedDate": "2025-04-03T23:39:28.8113491-07:00", "ModifiedBy": "988115d0-c894-4c52-8991-97d16b26ffe9", "ModifiedDate": "2025-04-03T23:39:28.8113491-07:00", "DeletedBy": "40019387-045a-4340-af77-b8d4dabf884a", "DeletedDate": "2025-04-03T23:39:28.8113491-07: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">281ec137-bb47-409f-b198-05510216436e</CreatedBy> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-04-03T23:39:28.8113491-07:00</CreatedDate> <DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">40019387-045a-4340-af77-b8d4dabf884a</DeletedBy> <DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-04-03T23:39:28.8113491-07: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">e55b6b2a-a8c0-49c6-bb32-57bb75d9fa78</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">988115d0-c894-4c52-8991-97d16b26ffe9</ModifiedBy> <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-04-03T23:39:28.8113491-07: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. |