| POST | /company | Create Company Record. | |
|---|---|---|---|
| PUT | /company/{CompanyId} | Update Company Record. | |
| DELETE | /company/{CompanyId} | Delete Company Record. | |
| GET | /company/{CompanyId} | Retrieve a Company Record. |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| CompanyId | form | Guid | No | |
| ParentCompanyId | form | string | No | |
| CompanyName | form | string | No | |
| Website | form | string | No | |
| CompanyNameShort | form | string | No | |
| IsReseller | form | bool | No | |
| SeparateInvoice | form | bool | No | |
| TypeCompanyStatusId | form | int | No | |
| ModifiedBy | form | Guid | No | |
| ModifiedDate | form | DateTime | No | |
| CreatedBy | form | string | No | |
| CreatedDate | form | DateTime | No | |
| ChannelCompanies | form | List<TypeCompany> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| CompanyId | form | Guid | No | |
| CompanyName | form | string | No | |
| Website | form | string | No | |
| CompanyNameShort | form | string | No | |
| IsReseller | form | bool | No | |
| TypeCompanyStatusId | form | int | No | |
| ModifiedBy | form | Guid | No | |
| ModifiedDate | form | DateTime | No | |
| CreatedBy | form | string | No | |
| CreatedDate | form | DateTime | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /company HTTP/1.1
Host: n3tapi.palmettovdc.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"companyId":"00000000000000000000000000000000","parentCompanyId":"String","companyName":"String","website":"String","companyNameShort":"String","isReseller":false,"separateInvoice":false,"typeCompanyStatusId":0,"modifiedBy":"00000000000000000000000000000000","modifiedDate":"\/Date(-62135596800000-0000)\/","createdBy":"String","createdDate":"\/Date(-62135596800000-0000)\/","channelCompanies":[{"companyId":"00000000000000000000000000000000","parentCompanyId":"String","companyName":"String","website":"String","companyNameShort":"String","isReseller":false,"separateInvoice":false,"typeCompanyStatusId":0,"modifiedBy":"00000000000000000000000000000000","modifiedDate":"\/Date(-62135596800000-0000)\/","createdBy":"String","createdDate":"\/Date(-62135596800000-0000)\/","channelCompanies":[{"companyId":"00000000000000000000000000000000","parentCompanyId":"String","companyName":"String","website":"String","companyNameShort":"String","isReseller":false,"separateInvoice":false,"typeCompanyStatusId":0,"modifiedBy":"00000000000000000000000000000000","modifiedDate":"\/Date(-62135596800000-0000)\/","createdBy":"String","createdDate":"\/Date(-62135596800000-0000)\/","channelCompanies":[{"companyId":"00000000000000000000000000000000","parentCompanyId":"String","companyName":"String","website":"String","companyNameShort":"String","isReseller":false,"separateInvoice":false,"typeCompanyStatusId":0,"modifiedBy":"00000000000000000000000000000000","modifiedDate":"\/Date(-62135596800000-0000)\/","createdBy":"String","createdDate":"\/Date(-62135596800000-0000)\/"}]}]}]}