Paymentterms
Authorizations
Header parameters
api-versionstringOptional
younium-idempotency-keystringOptional
younium-idempotency-durationInHoursintegerOptional
Body
all ofOptional
Responses
201
Created
400
Bad Request.
application/json
401
Unauthorized
403
Forbidden
post
POST /PaymentTerms HTTP/1.1
Host: api.younium.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 45
{
"description": "text",
"name": "text",
"days": 1
}
No content
Authorizations
Query parameters
FilterstringOptionalExample:
Filter the results. See ODATA documentation for more information
name eq 'Adam' and age gt 20
OrderBystringOptionalExample:
Sorting the results. See ODATA specification for more information
accountNumber Desc
ModifiedAfterstring · date-timeOptionalExample:
Apply a separate modified After filter. See 'ModifiedBefore' filter for further details.
03/01/2025 00:00:00
ModifiedBeforestring · date-timeOptionalExample:
Apply a separate filter to only get records that has been modified Before the specified date time.
03/01/2025 00:00:00
PageSizeinteger · int32OptionalExample:
Page Size
20
PageNumberinteger · int32OptionalExample:
Page Number
1
Header parameters
api-versionstringOptional
Responses
200
Success
application/json
400
Bad Request.
application/json
401
Unauthorized
403
Forbidden
get
GET /PaymentTerms HTTP/1.1
Host: api.younium.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"pageNumber": 1,
"pageSize": 1,
"totalPages": 1,
"totalCount": 1,
"nextPage": "https://example.com",
"previousPage": "https://example.com",
"firstPage": "https://example.com",
"lastPage": "https://example.com",
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"description": "text",
"name": "text",
"termType": "NetDays",
"days": 1
}
]
}
Authorizations
Path parameters
idstring · uuidRequired
Header parameters
api-versionstringOptional
Responses
200
Success
application/json
400
Bad Request.
application/json
401
Unauthorized
403
Forbidden
404
Not Found
application/json
get
GET /PaymentTerms/{id} HTTP/1.1
Host: api.younium.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"description": "text",
"name": "text",
"termType": "NetDays",
"days": 1
}
Last updated
Was this helpful?