Skip to content

Publish Posts

POST
/api/administration/affiliate/{managingEntityIdentifier}/managed-social/post/publish
curl --request POST \
--url https://api.wink.travel/api/administration/affiliate//managed-social/post/publish \
--header 'Content-Type: application/json' \
--header 'Wink-Version: 2.0' \
--data '{ "year": "", "month": "", "day": "", "hours": "", "minutes": "", "seconds": "", "timezone": "" }'

Publishes posts for a subscriber for a specific month.

managingEntityIdentifier
required
string
""

The affiliate account to generate posts for

Wink-Version
string
default: 2.0.0
Allowed values: 2.0

Request body

Media type application/json
object
year
required

The year to generate post templates for.

integer format: int32
"" >= 2025
Example
2025
month
required

The month to generate post templates for.

integer format: int32
"" <= 12
Example
11
day
required

The day to generate post templates for.

integer format: int32
"" <= 31
Example
31
hours
required

The hours to generate post templates for.

integer format: int32
"" <= 23
Example
23
minutes
required

The minutes to generate post templates for.

integer format: int32
"" <= 59
Example
11
seconds
required

The seconds to generate post templates for.

integer format: int32
"" <= 59
Example
59
timezone
required

The timezone to generate post templates for.

string
""
Example
UTC

Created

Media type application/json
object
count
required

Number of post templates generated.

integer format: int64
""
Example
{
"count": ""
}

Bad Request

object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
Example generated
{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"instance": "https://example.com",
"properties": {
"additionalProperty": "example"
}
}

Unauthorized

Media type */*
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties

Forbidden

Media type */*
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties

Internal Server Error

object
Example generated
{}