POST api/package/SendLocationSms
Request Information
URI Parameters
None.
Body Parameters
SMSLocationDTOName | Description | Type | Additional information |
---|---|---|---|
PackageId | integer |
None. |
|
UserId | integer |
None. |
|
CustomerLatitude | decimal number |
None. |
|
CustomerLongitude | decimal number |
None. |
|
MylerLatitude | decimal number |
None. |
|
MylerLongitude | decimal number |
None. |
|
DeviceCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "PackageId": 1, "UserId": 2, "CustomerLatitude": 3.1, "CustomerLongitude": 4.1, "MylerLatitude": 5.1, "MylerLongitude": 6.1, "DeviceCode": "sample string 7" }
application/xml, text/xml
Sample:
<SMSLocationDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MYLERZ.Base.DTO.MobileDTO"> <CustomerLatitude>3.1</CustomerLatitude> <CustomerLongitude>4.1</CustomerLongitude> <DeviceCode>sample string 7</DeviceCode> <MylerLatitude>5.1</MylerLatitude> <MylerLongitude>6.1</MylerLongitude> <PackageId>1</PackageId> <UserId>2</UserId> </SMSLocationDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
DescriptiveResponseOfBooleanName | Description | Type | Additional information |
---|---|---|---|
Value | boolean |
None. |
|
CoreValue | string |
None. |
|
IsErrorState | boolean |
None. |
|
ErrorDescription | string |
None. |
|
ErrorMetadata | Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "Value": true, "CoreValue": "sample string 2", "IsErrorState": true, "ErrorDescription": "sample string 4", "ErrorMetadata": {} }
application/xml, text/xml
Sample:
<DescriptiveResponseOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MYLERZ.Base.Entities"> <CoreValue>sample string 2</CoreValue> <ErrorDescription>sample string 4</ErrorDescription> <ErrorMetadata /> <IsErrorState>true</IsErrorState> <Value>true</Value> </DescriptiveResponseOfboolean>