POST api/Company/DeleteCompany?id={id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of CompanyLookupViewModelName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
Name | string |
None. |
|
Selected | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "id": "bdaae890-803c-4906-8db3-ff0b22312719", "name": "sample string 2", "selected": true }, { "id": "bdaae890-803c-4906-8db3-ff0b22312719", "name": "sample string 2", "selected": true } ]
application/xml, text/xml
Sample:
<ArrayOfCompanyLookupViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.ViewModels"> <CompanyLookupViewModel> <Id>bdaae890-803c-4906-8db3-ff0b22312719</Id> <Name>sample string 2</Name> <Selected>true</Selected> </CompanyLookupViewModel> <CompanyLookupViewModel> <Id>bdaae890-803c-4906-8db3-ff0b22312719</Id> <Name>sample string 2</Name> <Selected>true</Selected> </CompanyLookupViewModel> </ArrayOfCompanyLookupViewModel>