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": "00bcf937-d51f-481e-9f4c-bf1d33b00322", "month": 2, "startDate": "2025-07-08T21:18:56.6560838+03:00", "endDate": "2025-07-08T21:18:56.6560838+03:00", "promotionCode": "sample string 3", "package": "sample string 4", "amount": 5.0, "recipeID": "66df460c-7d6e-4cb9-a5c9-30fdcc329ebb", "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>00bcf937-d51f-481e-9f4c-bf1d33b00322</CompanyID> <EndDate>2025-07-08T21:18:56.6560838+03:00</EndDate> <IzibizRecipeId>7</IzibizRecipeId> <Month>2</Month> <Package>sample string 4</Package> <PromotionCode>sample string 3</PromotionCode> <RecipeID>66df460c-7d6e-4cb9-a5c9-30fdcc329ebb</RecipeID> <StartDate>2025-07-08T21:18:56.6560838+03:00</StartDate> </CompanyAccountActionAddDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"companyID":"00bcf937-d51f-481e-9f4c-bf1d33b00322","month":2,"startDate":"2025-07-08T21:18:56.6560838+03:00","endDate":"2025-07-08T21:18:56.6560838+03:00","promotionCode":"sample string 3","package":"sample string 4","amount":5.0,"recipeID":"66df460c-7d6e-4cb9-a5c9-30fdcc329ebb","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.