| POST | /companiesOLD |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| secret | body | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| sessionId | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Result | form | List<TypeCompany> | No | |
| ResponseStatus | form | ResponseStatus | 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 .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /companiesOLD HTTP/1.1
Host: n3tapi.palmettovdc.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
secret: String,
sessionId: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
result:
[
{
companyId: 00000000000000000000000000000000,
companyName: String,
website: String,
companyNameShort: String,
isReseller: False,
typeCompanyStatusId: 0,
modifiedBy: 00000000000000000000000000000000,
modifiedDate: 0001-01-01,
createdBy: String,
createdDate: 0001-01-01
}
],
responseStatus:
{
errorCode: String,
message: String,
stackTrace: String,
errors:
[
{
errorCode: String,
fieldName: String,
message: String,
meta:
{
String: String
}
}
],
meta:
{
String: String
}
}
}