POST api/package/ChangePackagePayment
Request Information
URI Parameters
None.
Body Parameters
ChangePackagePaymentMobileDtoName | Description | Type | Additional information |
---|---|---|---|
PackageID | integer |
None. |
|
PaymentMethod | PaymentMethodEnum |
None. |
|
UserId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "PackageID": 1, "PaymentMethod": 1, "UserId": 2 }
application/xml, text/xml
Sample:
<ChangePackagePaymentMobileDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MYLERZ.Base.DTO.MobileDTO"> <PackageID>1</PackageID> <PaymentMethod>PrePaid</PaymentMethod> <UserId>2</UserId> </ChangePackagePaymentMobileDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
DescriptiveResponseOfMobilePaymentOrderDtoName | Description | Type | Additional information |
---|---|---|---|
Value | MobilePaymentOrderDto |
None. |
|
CoreValue | string |
None. |
|
IsErrorState | boolean |
None. |
|
ErrorDescription | string |
None. |
|
ErrorMetadata | Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "Value": { "PackageId": 1, "CustomerPhone": "sample string 2", "CODAmount": 3.0, "PaymentLink": "sample string 4", "UpdatedDate": "2025-04-06T22:53:23.0642471+02:00", "Status": "sample string 6", "NotifiyMessage": "sample string 7", "ArNotifiyMessage": "sample string 8" }, "CoreValue": "sample string 1", "IsErrorState": true, "ErrorDescription": "sample string 3", "ErrorMetadata": {} }
application/xml, text/xml
Sample:
<DescriptiveResponseOfMobilePaymentOrderDtos_SlrnjSQ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MYLERZ.Base.Entities"> <CoreValue>sample string 1</CoreValue> <ErrorDescription>sample string 3</ErrorDescription> <ErrorMetadata /> <IsErrorState>true</IsErrorState> <Value xmlns:d2p1="http://schemas.datacontract.org/2004/07/MYLERZ.Base.DTO.MobileDTO"> <d2p1:ArNotifiyMessage>sample string 8</d2p1:ArNotifiyMessage> <d2p1:CODAmount>3</d2p1:CODAmount> <d2p1:CustomerPhone>sample string 2</d2p1:CustomerPhone> <d2p1:NotifiyMessage>sample string 7</d2p1:NotifiyMessage> <d2p1:PackageId>1</d2p1:PackageId> <d2p1:PaymentLink>sample string 4</d2p1:PaymentLink> <d2p1:Status>sample string 6</d2p1:Status> <d2p1:UpdatedDate>2025-04-06T22:53:23.0642471+02:00</d2p1:UpdatedDate> </Value> </DescriptiveResponseOfMobilePaymentOrderDtos_SlrnjSQ>