POST api/Subagent/savecompany

Request Information

URI Parameters

None.

Body Parameters

SubAgentCompanyNameDto
NameDescriptionTypeAdditional information
zipcodes

Collection of zipcodes

None.

CompanyName

string

None.

OrganizationId

integer

None.

Id

integer

None.

IsDeleted

boolean

None.

IsActive

boolean

None.

CreatedBy

integer

None.

CreatedOn

date

None.

ModifiedBy

integer

None.

ModifiedOn

date

None.

Request Formats

application/json, text/json

Sample:
{
  "zipcodes": [
    {
      "undefined": "sample string 1"
    },
    {
      "undefined": "sample string 1"
    }
  ],
  "CompanyName": "sample string 1",
  "OrganizationId": 2,
  "Id": 3,
  "IsDeleted": true,
  "IsActive": true,
  "CreatedBy": 6,
  "CreatedOn": "2025-12-08T15:37:12.0992299+00:00",
  "ModifiedBy": 1,
  "ModifiedOn": "2025-12-08T15:37:12.0992299+00:00"
}

application/xml, text/xml

Sample:
check

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 'SubAgentCompanyNameDto'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.