POST api/Payment?CompId={CompId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
CompId | string |
Required |
Body Parameters
FinancialHdName | Description | Type | Additional information |
---|---|---|---|
id | integer |
None. |
|
TransId | integer |
None. |
|
DocType | integer |
None. |
|
Branch | integer |
None. |
|
DocSecSer | integer |
None. |
|
DocNo | string |
None. |
|
Curr | integer |
None. |
|
Exchg | decimal number |
None. |
|
Dt | date |
None. |
|
UserId | integer |
None. |
|
PcName | string |
None. |
|
AppFinancialBdy | Collection of FinancialBdy |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": 1, "TransId": 2, "DocType": 3, "Branch": 4, "DocSecSer": 5, "DocNo": "sample string 6", "Curr": 7, "Exchg": 8.0, "Dt": "2025-04-28T02:22:26.6279568-07:00", "UserId": 10, "PcName": "sample string 11", "AppFinancialBdy": [ { "TransId": 1, "id": 2, "AccId": 3, "Amount": 4.0, "BAmount": 5.0, "Curr": 6, "Exchg": 7.0, "Branch": 8, "Narration": "sample string 9", "CustVendId": 10 }, { "TransId": 1, "id": 2, "AccId": 3, "Amount": 4.0, "BAmount": 5.0, "Curr": 6, "Exchg": 7.0, "Branch": 8, "Narration": "sample string 9", "CustVendId": 10 } ] }
text/html
Sample:
{"id":1,"TransId":2,"DocType":3,"Branch":4,"DocSecSer":5,"DocNo":"sample string 6","Curr":7,"Exchg":8.0,"Dt":"2025-04-28T02:22:26.6279568-07:00","UserId":10,"PcName":"sample string 11","AppFinancialBdy":[{"TransId":1,"id":2,"AccId":3,"Amount":4.0,"BAmount":5.0,"Curr":6,"Exchg":7.0,"Branch":8,"Narration":"sample string 9","CustVendId":10},{"TransId":1,"id":2,"AccId":3,"Amount":4.0,"BAmount":5.0,"Curr":6,"Exchg":7.0,"Branch":8,"Narration":"sample string 9","CustVendId":10}]}
application/xml, text/xml
Sample:
<FinancialHd xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GNXAPItoFlutter.Models"> <AppFinancialBdy> <FinancialBdy> <AccId>3</AccId> <Amount>4</Amount> <BAmount>5</BAmount> <Branch>8</Branch> <Curr>6</Curr> <CustVendId>10</CustVendId> <Exchg>7</Exchg> <Narration>sample string 9</Narration> <TransId>1</TransId> <id>2</id> </FinancialBdy> <FinancialBdy> <AccId>3</AccId> <Amount>4</Amount> <BAmount>5</BAmount> <Branch>8</Branch> <Curr>6</Curr> <CustVendId>10</CustVendId> <Exchg>7</Exchg> <Narration>sample string 9</Narration> <TransId>1</TransId> <id>2</id> </FinancialBdy> </AppFinancialBdy> <Branch>4</Branch> <Curr>7</Curr> <DocNo>sample string 6</DocNo> <DocSecSer>5</DocSecSer> <DocType>3</DocType> <Dt>2025-04-28T02:22:26.6279568-07:00</Dt> <Exchg>8</Exchg> <PcName>sample string 11</PcName> <TransId>2</TransId> <UserId>10</UserId> <id>1</id> </FinancialHd>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json, text/html
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>