POST api/PayTRPayment/Add
Request Information
URI Parameters
None.
Body Parameters
CompanyAccountActionAddDtoName | Description | Type | Additional information |
---|---|---|---|
CompanyID | globally unique identifier |
None. |
|
Month | integer |
None. |
|
StartDate | date |
None. |
|
EndDate | date |
None. |
|
PromotionCode | string |
None. |
|
Package | string |
None. |
|
Amount | decimal number |
None. |
|
RecipeID | globally unique identifier |
None. |
|
Code | string |
None. |
|
IzibizRecipeId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "companyID": "5d74b0f9-2c0f-455a-9ef1-9ddca8d5e6e3", "month": 2, "startDate": "2025-07-08T21:31:59.1090697+03:00", "endDate": "2025-07-08T21:31:59.1090697+03:00", "promotionCode": "sample string 3", "package": "sample string 4", "amount": 5.0, "recipeID": "90275986-3623-4d1b-91d7-11987d62febe", "code": "sample string 6", "izibizRecipeId": 7 }
application/xml, text/xml
Sample:
<CompanyAccountActionAddDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs"> <Amount>5</Amount> <Code>sample string 6</Code> <CompanyID>5d74b0f9-2c0f-455a-9ef1-9ddca8d5e6e3</CompanyID> <EndDate>2025-07-08T21:31:59.1090697+03:00</EndDate> <IzibizRecipeId>7</IzibizRecipeId> <Month>2</Month> <Package>sample string 4</Package> <PromotionCode>sample string 3</PromotionCode> <RecipeID>90275986-3623-4d1b-91d7-11987d62febe</RecipeID> <StartDate>2025-07-08T21:31:59.1090697+03:00</StartDate> </CompanyAccountActionAddDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"companyID":"5d74b0f9-2c0f-455a-9ef1-9ddca8d5e6e3","month":2,"startDate":"2025-07-08T21:31:59.1090697+03:00","endDate":"2025-07-08T21:31:59.1090697+03:00","promotionCode":"sample string 3","package":"sample string 4","amount":5.0,"recipeID":"90275986-3623-4d1b-91d7-11987d62febe","code":"sample string 6","izibizRecipeId":7}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.