POST api/GetBrokerById

Request Information

URI Parameters

None.

Body Parameters

clsBroker
NameDescriptionTypeAdditional information
intId

integer

None.

intCompanyId

integer

None.

strCompanyName

string

Required

Max length: 150

strEmail

string

None.

strPosition

string

Required

Max length: 150

strAddress1

string

Required

Max length: 150

strAddress2

string

Required

Max length: 150

strTown

string

Required

Max length: 150

strPostCode

string

Required

Matching regular expression pattern: ^[0-9]*$

Max length: 150

strOfficeAddress1

string

Required

Max length: 150

strOfficeAddress2

string

Required

Max length: 150

strOfficeTown

string

Required

Max length: 150

strOfficePostCode

string

Required

Matching regular expression pattern: ^[0-9]*$

Max length: 150

strCompanyType

string

Required

Max length: 150

strCompanyRegNo

string

Required

Max length: 150

strVatNo

string

Required

Max length: 150

ErrorCode

integer

None.

AutoID

integer

None.

ErrorMsg

string

None.

Type

string

None.

Active

boolean

None.

Action

string

None.

CreatedBy

integer

None.

CreatedDate

date

None.

ModifyBy

integer

None.

ModifyDate

date

None.

PageNo

integer

None.

PageSize

integer

None.

TotalRecord

integer

None.

strSearchText

string

None.

Request Formats

application/json, text/json

Sample:
{
  "intId": 1,
  "intCompanyId": 2,
  "strCompanyName": "sample string 3",
  "strEmail": "sample string 4",
  "strPosition": "sample string 5",
  "strAddress1": "sample string 6",
  "strAddress2": "sample string 7",
  "strTown": "sample string 8",
  "strPostCode": "sample string 9",
  "strOfficeAddress1": "sample string 10",
  "strOfficeAddress2": "sample string 11",
  "strOfficeTown": "sample string 12",
  "strOfficePostCode": "sample string 13",
  "strCompanyType": "sample string 14",
  "strCompanyRegNo": "sample string 15",
  "strVatNo": "sample string 16",
  "errorCode": 17,
  "autoID": 18,
  "errorMsg": "sample string 19",
  "type": "sample string 20",
  "active": true,
  "action": "sample string 22",
  "createdBy": 1,
  "createdDate": "2025-12-09T11:04:03.7290701+00:00",
  "modifyBy": 1,
  "modifyDate": "2025-12-09T11:04:03.7290701+00:00",
  "pageNo": 23,
  "pageSize": 24,
  "totalRecord": 25,
  "strSearchText": "sample string 26"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'clsBroker'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.