POST api/Transactions/Create_due_transactionRequest
Request Information
URI Parameters
None.
Body Parameters
DueTransaction_CreateModel| Name | Description | Type | Additional information |
|---|---|---|---|
| DBNo | integer |
None. |
|
| AppNo | integer |
None. |
|
| Action | string |
None. |
|
| CreatedBy | integer |
None. |
|
| UpdatedBy | integer |
None. |
|
| TransactionID | integer |
None. |
|
| TransactionCategoryID | integer |
Required Range: inclusive between 1 and 2147483647 |
|
| InitiationMode | string |
Required Matching regular expression pattern: ^due$ |
|
| Src_ID | integer |
Required Range: inclusive between 1 and 2147483647 |
|
| TransactionTypeID | integer |
Required Range: inclusive between 1 and 2147483647 |
|
| SenderUserProfileID | integer |
None. |
|
| SenderProfessionID | integer |
None. |
|
| ReceiverUserProfileID | integer |
None. |
|
| ReceiverProfessionID | integer |
None. |
|
| EntityID | integer |
Required Range: inclusive between 1 and 9.22337203685478E+18 |
|
| CurrencyID | integer |
Required Range: inclusive between 1 and 2147483647 |
|
| Amount | decimal number |
Required Range: inclusive between 0.01 and 1.79769313486232E+308 |
|
| Reason | string |
Required Matching regular expression pattern: ^[a-zA-Z0-9\s.,'-]{10,}$ |
|
| Notes | string |
Required |
|
| IsNonNegotiable | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"DBNo": 1,
"AppNo": 1,
"Action": "sample string 1",
"CreatedBy": 2,
"UpdatedBy": 3,
"TransactionID": 1,
"TransactionCategoryID": 4,
"InitiationMode": "sample string 5",
"Src_ID": 6,
"TransactionTypeID": 7,
"SenderUserProfileID": 1,
"SenderProfessionID": 1,
"ReceiverUserProfileID": 1,
"ReceiverProfessionID": 1,
"EntityID": 8,
"CurrencyID": 9,
"Amount": 10.0,
"Reason": "sample string 11",
"Notes": "sample string 12",
"IsNonNegotiable": true
}
application/xml, text/xml
Sample:
<DueTransaction_CreateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessAccessLayer.Model.TransactionModule"> <Action>sample string 1</Action> <Amount>10</Amount> <AppNo>1</AppNo> <CreatedBy>2</CreatedBy> <CurrencyID>9</CurrencyID> <DBNo>1</DBNo> <EntityID>8</EntityID> <InitiationMode>sample string 5</InitiationMode> <IsNonNegotiable>true</IsNonNegotiable> <Notes>sample string 12</Notes> <Reason>sample string 11</Reason> <ReceiverProfessionID>1</ReceiverProfessionID> <ReceiverUserProfileID>1</ReceiverUserProfileID> <SenderProfessionID>1</SenderProfessionID> <SenderUserProfileID>1</SenderUserProfileID> <Src_ID>6</Src_ID> <TransactionCategoryID>4</TransactionCategoryID> <TransactionID>1</TransactionID> <TransactionTypeID>7</TransactionTypeID> <UpdatedBy>3</UpdatedBy> </DueTransaction_CreateModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Result| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | ResultStatus |
None. |
|
| Message | string |
None. |
|
| Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": 100,
"Message": "sample string 1",
"Data": {}
}
application/xml, text/xml
Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessAccessLayer.Generics"> <Data /> <Message>sample string 1</Message> <Status>Success</Status> </Result>