POST api/MobileApp/GetTaskEvent
Request Information
URI Parameters
None.
Body Parameters
GenericRequestModelName | Description | Type | Additional information |
---|---|---|---|
PhoneNumber | string |
None. |
|
Pin | string |
None. |
|
LocationCountry | string |
None. |
|
DeviceId | string |
None. |
|
DeviceType | string |
None. |
|
DeviceName | string |
None. |
|
DeviceModel | string |
None. |
|
AppVersion | string |
None. |
|
AppType | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "PhoneNumber": "sample string 1", "Pin": "sample string 2", "LocationCountry": "sample string 3", "DeviceId": "sample string 4", "DeviceType": "sample string 5", "DeviceName": "sample string 6", "DeviceModel": "sample string 7", "AppVersion": "sample string 8", "AppType": "sample string 9" }
application/xml, text/xml
Sample:
<GenericRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Web.Api.Models.MobileApp"> <AppType>sample string 9</AppType> <AppVersion>sample string 8</AppVersion> <DeviceId>sample string 4</DeviceId> <DeviceModel>sample string 7</DeviceModel> <DeviceName>sample string 6</DeviceName> <DeviceType>sample string 5</DeviceType> <LocationCountry>sample string 3</LocationCountry> <PhoneNumber>sample string 1</PhoneNumber> <Pin>sample string 2</Pin> </GenericRequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
TaskEventResponseName | Description | Type | Additional information |
---|---|---|---|
ResponseCode | string |
None. |
|
ResponseMessage | string |
None. |
|
TaskEvents | Collection of TaskEventDto |
None. |
Response Formats
application/json, text/json
Sample:
{ "ResponseCode": "sample string 1", "ResponseMessage": "sample string 2", "TaskEvents": [ { "TaskId": 1, "TaskCompleted": "sample string 2", "APINameToCall": "sample string 3", "CreatedDate": "2024-11-30T22:35:13.7796196-05:00" }, { "TaskId": 1, "TaskCompleted": "sample string 2", "APINameToCall": "sample string 3", "CreatedDate": "2024-11-30T22:35:13.7796196-05:00" } ] }
application/xml, text/xml
Sample:
<TaskEventResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Web.Api.Models.MobileApp"> <ResponseCode>sample string 1</ResponseCode> <ResponseMessage>sample string 2</ResponseMessage> <TaskEvents> <TaskEventDto> <APINameToCall>sample string 3</APINameToCall> <CreatedDate>2024-11-30T22:35:13.7796196-05:00</CreatedDate> <TaskCompleted>sample string 2</TaskCompleted> <TaskId>1</TaskId> </TaskEventDto> <TaskEventDto> <APINameToCall>sample string 3</APINameToCall> <CreatedDate>2024-11-30T22:35:13.7796196-05:00</CreatedDate> <TaskCompleted>sample string 2</TaskCompleted> <TaskId>1</TaskId> </TaskEventDto> </TaskEvents> </TaskEventResponse>