POST api2/Member
Request Information
URI Parameters
None.
Body Parameters
RegisterModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Member | integer |
None. |
|
| Name | string |
None. |
|
| EngName | string |
None. |
|
| Country | integer |
None. |
|
| Phone | string |
None. |
|
| string |
None. |
||
| Password | string |
None. |
|
| Sex | integer |
None. |
|
| HasDriverLicense | boolean |
None. |
|
| DriverExamApplied | boolean |
None. |
|
| Type | integer |
None. |
|
| Cat | integer |
None. |
|
| CatList | string |
None. |
|
| CarStyle | integer |
None. |
|
| CarStyleList | string |
None. |
|
| Shift | integer |
None. |
|
| ShiftList | string |
None. |
|
| ShiftDOW | string |
None. |
|
| NoShiftDOW | boolean |
None. |
|
| ShiftDistrict | integer |
None. |
|
| ShiftLocation | integer |
None. |
|
| ShiftLocationName | string |
None. |
|
| Referrer | integer |
None. |
|
| ReferrerName | string |
None. |
|
| Comment | string |
None. |
|
| Channel | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Member": 1,
"Name": "sample string 2",
"EngName": "sample string 3",
"Country": 4,
"Phone": "sample string 5",
"Email": "sample string 6",
"Password": "sample string 7",
"Sex": 1,
"HasDriverLicense": true,
"DriverExamApplied": true,
"Type": 10,
"Cat": 11,
"CatList": "sample string 12",
"CarStyle": 13,
"CarStyleList": "sample string 14",
"Shift": 15,
"ShiftList": "sample string 16",
"ShiftDOW": "sample string 17",
"NoShiftDOW": true,
"ShiftDistrict": 19,
"ShiftLocation": 20,
"ShiftLocationName": "sample string 21",
"Referrer": 22,
"ReferrerName": "sample string 23",
"Comment": "sample string 24",
"Channel": "sample string 25"
}
application/xml, text/xml
Sample:
<MemberController.RegisterModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MIS.API.Controllers"> <CarStyle>13</CarStyle> <CarStyleList>sample string 14</CarStyleList> <Cat>11</Cat> <CatList>sample string 12</CatList> <Channel>sample string 25</Channel> <Comment>sample string 24</Comment> <Country>4</Country> <DriverExamApplied>true</DriverExamApplied> <Email>sample string 6</Email> <EngName>sample string 3</EngName> <HasDriverLicense>true</HasDriverLicense> <Member>1</Member> <Name>sample string 2</Name> <NoShiftDOW>true</NoShiftDOW> <Password>sample string 7</Password> <Phone>sample string 5</Phone> <Referrer>22</Referrer> <ReferrerName>sample string 23</ReferrerName> <Sex>1</Sex> <Shift>15</Shift> <ShiftDOW>sample string 17</ShiftDOW> <ShiftDistrict>19</ShiftDistrict> <ShiftList>sample string 16</ShiftList> <ShiftLocation>20</ShiftLocation> <ShiftLocationName>sample string 21</ShiftLocationName> <Type>10</Type> </MemberController.RegisterModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
MemberModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| CustomerId | integer |
None. |
|
| Name | string |
None. |
|
| EngName | string |
None. |
|
| DisplayName | string |
None. |
|
| Sex | integer |
None. |
|
| Country | integer |
None. |
|
| Phone | string |
None. |
|
| string |
None. |
||
| IsHolder | boolean |
None. |
|
| IsDriver | boolean |
None. |
|
| IsAgent | boolean |
None. |
|
| IsVendor | boolean |
None. |
|
| ContactPerson | string |
None. |
|
| ContactPersonPhone | string |
None. |
|
| Address | string |
None. |
|
| MailAddress | string |
None. |
|
| Bank | integer |
None. |
|
| BankAccount | string |
None. |
|
| BankAccountName | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"CustomerId": 2,
"Name": "sample string 3",
"EngName": "sample string 4",
"DisplayName": "sample string 5",
"Sex": 6,
"Country": 7,
"Phone": "sample string 8",
"Email": "sample string 9",
"IsHolder": true,
"IsDriver": true,
"IsAgent": true,
"IsVendor": true,
"ContactPerson": "sample string 14",
"ContactPersonPhone": "sample string 15",
"Address": "sample string 16",
"MailAddress": "sample string 17",
"Bank": 18,
"BankAccount": "sample string 19",
"BankAccountName": "sample string 20"
}
application/xml, text/xml
Sample:
<MemberModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MIS.API.Models"> <Address>sample string 16</Address> <Bank>18</Bank> <BankAccount>sample string 19</BankAccount> <BankAccountName>sample string 20</BankAccountName> <ContactPerson>sample string 14</ContactPerson> <ContactPersonPhone>sample string 15</ContactPersonPhone> <Country>7</Country> <CustomerId>2</CustomerId> <DisplayName>sample string 5</DisplayName> <Email>sample string 9</Email> <EngName>sample string 4</EngName> <Id>1</Id> <IsAgent>true</IsAgent> <IsDriver>true</IsDriver> <IsHolder>true</IsHolder> <IsVendor>true</IsVendor> <MailAddress>sample string 17</MailAddress> <Name>sample string 3</Name> <Phone>sample string 8</Phone> <Sex>6</Sex> </MemberModel>