POST api/SellerStaff/AddStaffDetails
Request Information
URI Parameters
None.
Body Parameters
ReqAddStaff| Name | Description | Type | Additional information |
|---|---|---|---|
| FullName | string |
Required Matching regular expression pattern: ^[a-zA-Z ]*$ String length: inclusive between 2 and 120 |
|
| Phone | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"FullName": "sample string 1",
"Phone": "sample string 2"
}
application/xml, text/xml
Sample:
<ReqAddStaff xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NEOWAY.Models.Request.Staff"> <FullName>sample string 1</FullName> <Phone>sample string 2</Phone> </ReqAddStaff>
application/x-www-form-urlencoded
Sample:
Sample not available.
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. |