POST api/v1/category/create-category

Request Information

URI Parameters

None.

Body Parameters

CreateBillerCategoryRequest
NameDescriptionTypeAdditional information
Name

string

Required

Matching regular expression pattern: (^[ A-Za-z0-9.|/-]+$)

Description

string

None.

CategoryTypeId

integer

None.

CategoryCountryId

string

None.

CreatedBy

string

None.

RequestId

string

Required

Matching regular expression pattern: (^(?=.{4,50}$)([ A-Za-z0-9.|/-]+$))

CountryId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "Description": "sample string 2",
  "CategoryTypeId": 3,
  "CategoryCountryId": "sample string 4",
  "CreatedBy": "sample string 5",
  "RequestId": "sample string 6",
  "CountryId": "sample string 7"
}

application/xml, text/xml

Sample:
<CreateBillerCategoryRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FirstBank.SingleBiller.CoreObject.DataTransferObjects">
  <CountryId>sample string 7</CountryId>
  <RequestId>sample string 6</RequestId>
  <CategoryCountryId>sample string 4</CategoryCountryId>
  <CategoryTypeId>3</CategoryTypeId>
  <CreatedBy>sample string 5</CreatedBy>
  <Description>sample string 2</Description>
  <Name>sample string 1</Name>
</CreateBillerCategoryRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.