POST api/TestPayTRPayment/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": "c9709f18-f7c7-4a51-814a-1761524bf89f", "month": 2, "startDate": "2025-05-24T16:56:32.9787797+03:00", "endDate": "2025-05-24T16:56:32.9787797+03:00", "promotionCode": "sample string 3", "package": "sample string 4", "amount": 5.0, "recipeID": "87630489-3f29-4118-807f-e0a22333e80b", "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>c9709f18-f7c7-4a51-814a-1761524bf89f</CompanyID> <EndDate>2025-05-24T16:56:32.9787797+03:00</EndDate> <IzibizRecipeId>7</IzibizRecipeId> <Month>2</Month> <Package>sample string 4</Package> <PromotionCode>sample string 3</PromotionCode> <RecipeID>87630489-3f29-4118-807f-e0a22333e80b</RecipeID> <StartDate>2025-05-24T16:56:32.9787797+03:00</StartDate> </CompanyAccountActionAddDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"companyID":"c9709f18-f7c7-4a51-814a-1761524bf89f","month":2,"startDate":"2025-05-24T16:56:32.9787797+03:00","endDate":"2025-05-24T16:56:32.9787797+03:00","promotionCode":"sample string 3","package":"sample string 4","amount":5.0,"recipeID":"87630489-3f29-4118-807f-e0a22333e80b","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.