POST api/Profile/getProfile
Request Information
URI Parameters
None.
Body Parameters
ProfileReceviedDataModels| Name | Description | Type | Additional information |
|---|---|---|---|
| handphone | string |
None. |
|
| mobile_token | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"handphone": "sample string 1",
"mobile_token": "sample string 2"
}
application/xml, text/xml
Sample:
<ProfileReceviedDataModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FarmerPublicAPI.Models.ProfileIntegrator.ReceivedDataModels"> <handphone>sample string 1</handphone> <mobile_token>sample string 2</mobile_token> </ProfileReceviedDataModels>
multipart/form-data
Sample:
<ProfileReceviedDataModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FarmerPublicAPI.Models.ProfileIntegrator.ReceivedDataModels"><handphone>sample string 1</handphone><mobile_token>sample string 2</mobile_token></ProfileReceviedDataModels>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ProfileBaseTreeModels| Name | Description | Type | Additional information |
|---|---|---|---|
| message | string |
None. |
|
| success | boolean |
None. |
|
| data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"message": "sample string 1",
"success": true,
"data": {}
}
application/xml, text/xml
Sample:
<ProfileBaseTreeModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FarmerPublicAPI.Models.ProfileIntegrator.BaseTreeModels"> <data /> <message>sample string 1</message> <success>true</success> </ProfileBaseTreeModels>
multipart/form-data
Sample:
<ProfileBaseTreeModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FarmerPublicAPI.Models.ProfileIntegrator.BaseTreeModels"><data /><message>sample string 1</message><success>true</success></ProfileBaseTreeModels>