POST api/PaymentMethod/CreatePaymentMethod
Request Information
URI Parameters
None.
Body Parameters
CreatePaymentMethodRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| MethodCode | string |
None. |
|
| MethodName | string |
None. |
|
| Description | string |
None. |
|
| IsActive | boolean |
None. |
|
| DisplayOrder | integer |
None. |
|
| CreateId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"MethodCode": "sample string 1",
"MethodName": "sample string 2",
"Description": "sample string 3",
"IsActive": true,
"DisplayOrder": 5,
"CreateId": "0a43b0d4-aff7-4bf5-8226-ca7db14f377e"
}
application/xml, text/xml
Sample:
<CreatePaymentMethodRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Model.Request.Expense"> <CreateId>0a43b0d4-aff7-4bf5-8226-ca7db14f377e</CreateId> <Description>sample string 3</Description> <DisplayOrder>5</DisplayOrder> <IsActive>true</IsActive> <MethodCode>sample string 1</MethodCode> <MethodName>sample string 2</MethodName> </CreatePaymentMethodRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.