POST api/BranchRegistration

Request Information

URI Parameters

None.

Body Parameters

C_BranchRegistrationInfo
NameDescriptionTypeAdditional information
Id

integer

None.

BranchCode

integer

None.

RegistrationCode

integer

None.

Effectivedate

date

None.

RegistrationNo

string

None.

CreatedBy

integer

None.

CreatedOn

date

None.

ModifiedBy

integer

None.

ModifiedOn

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "BranchCode": 2,
  "RegistrationCode": 1,
  "Effectivedate": "2024-04-28T00:16:12.6538513+00:00",
  "RegistrationNo": "sample string 3",
  "CreatedBy": 1,
  "CreatedOn": "2024-04-28T00:16:12.6538513+00:00",
  "ModifiedBy": 1,
  "ModifiedOn": "2024-04-28T00:16:12.6538513+00:00"
}

application/xml, text/xml

Sample:
<C_BranchRegistrationInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models">
  <BranchCode>2</BranchCode>
  <CreatedBy>1</CreatedBy>
  <CreatedOn>2024-04-28T00:16:12.6538513+00:00</CreatedOn>
  <Effectivedate>2024-04-28T00:16:12.6538513+00:00</Effectivedate>
  <Id>1</Id>
  <ModifiedBy>1</ModifiedBy>
  <ModifiedOn>2024-04-28T00:16:12.6538513+00:00</ModifiedOn>
  <RegistrationCode>1</RegistrationCode>
  <RegistrationNo>sample string 3</RegistrationNo>
</C_BranchRegistrationInfo>

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.