POST api/forb2b/register
Request Information
URI Parameters
None.
Body Parameters
B2Bregister| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
Required String length: inclusive between 0 and 100 |
|
| Mobile | string |
Required Matching regular expression pattern: ^[6-9]\d{9}$ |
|
| string |
Required |
||
| PanNo | string |
Required Matching regular expression pattern: ^[A-Z]{5}[0-9]{4}[A-Z]{1}$ |
|
| AdharNo | string |
Required Matching regular expression pattern: ^\d{12}$ |
|
| GSTNo | string |
Matching regular expression pattern: ^[0-9]{2}[A-Z]{5}[0-9]{4}[A-Z]{1}[1-9A-Z]{1}[Z]{1}[0-9A-Z]{1}$ |
|
| Password | string |
Required String length: inclusive between 6 and 100 |
|
| UserCode | string |
None. |
|
| IsVerifiedMobile | boolean |
None. |
|
| IsVerifiedAdhar | boolean |
None. |
|
| IsVerifiedGST | boolean |
None. |
|
| IsVerifiedPanCard | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Name": "sample string 2",
"Mobile": "sample string 3",
"Email": "sample string 4",
"PanNo": "sample string 5",
"AdharNo": "sample string 6",
"GSTNo": "sample string 7",
"Password": "sample string 8",
"UserCode": "sample string 9",
"IsVerifiedMobile": true,
"IsVerifiedAdhar": true,
"IsVerifiedGST": true,
"IsVerifiedPanCard": true
}
application/xml, text/xml
Sample:
<B2Bregister xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/fonofy_api.Model"> <AdharNo>sample string 6</AdharNo> <Email>sample string 4</Email> <GSTNo>sample string 7</GSTNo> <Id>1</Id> <IsVerifiedAdhar>true</IsVerifiedAdhar> <IsVerifiedGST>true</IsVerifiedGST> <IsVerifiedMobile>true</IsVerifiedMobile> <IsVerifiedPanCard>true</IsVerifiedPanCard> <Mobile>sample string 3</Mobile> <Name>sample string 2</Name> <PanNo>sample string 5</PanNo> <Password>sample string 8</Password> <UserCode>sample string 9</UserCode> </B2Bregister>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |