---
# System prepended metadata

title: Circulation Post Published Dashboard

---

# Circulation Post Published Dashboard

## BASE URL: 122.248.215.60

## 1. আওয়ামী লীগের অঙ্গ সংগঠন সমূহ

```json
Request Body:
GET {{BASE_URL}}/api/v1/constituency/circulation/party-orgs/

Response:
Status Code: 200

{
    "success": true,
    "message": "Status OK",
    "data": {
        "count": 6,
        "next": null,
        "previous": null,
        "results": [
            {
                "id": 6,
                "name": "বাংলাদেশ আওয়ামী যুবলীগ",
                "party": "বাংলাদেশ আওয়ামী লীগ",
                "logo": "http://127.0.0.1:8000/media/political_sub_org/2023-05-02/Bangladesh_Awami_Jubo_League_Flag-2023-05-02-17-21-50.png"
            },
            {
                "id": 5,
                "name": "বাংলাদেশ কৃষক লীগ",
                "party": "বাংলাদেশ আওয়ামী লীগ",
                "logo": null
            },
            {
                "id": 1,
                "name": "বাংলাদেশ ছাত্রলীগ",
                "party": "বাংলাদেশ আওয়ামী লীগ",
                "logo": null
            },
            {
                "id": 2,
                "name": "বাংলাদেশ যুব মহিলা লীগ",
                "party": "বাংলাদেশ আওয়ামী লীগ",
                "logo": null
            },
            {
                "id": 4,
                "name": "বাংলাদেশ শ্রমিক লীগ",
                "party": "বাংলাদেশ আওয়ামী লীগ",
                "logo": null
            },
            {
                "id": 3,
                "name": "বাংলাদেশ স্বেছাসেবক লীগ",
                "party": "বাংলাদেশ আওয়ামী লীগ",
                "logo": null
            }
        ]
    }
}
```

## 2. Whatsapp List API

```json
Request Body:
GET {{BASE_URL}}/api/v1/constituency/circulation/circulation-group-list/

Response:
Status Code: 200

{
    "success": true,
    "message": "Status OK",
    "data": {
        "count": 1,
        "next": null,
        "previous": null,
        "results": [
            {
                "url": "http://127.0.0.1:8000/api/v1/constituency/circulation/circulation-group-detail/8669e431-a96d-4863-b524-e4814bedbe48/",
                "uid": "8669e431-a96d-4863-b524-e4814bedbe48",
                "name": "Lorem Ipsum",
                "whatsapp": "https://www.lipsum.com/",
                "org_of_party": [
                    {
                        "id": 1,
                        "name": "বাংলাদেশ ছাত্রলীগ",
                        "party": "বাংলাদেশ আওয়ামী লীগ",
                        "logo": null
                    },
                    {
                        "id": 2,
                        "name": "বাংলাদেশ যুব মহিলা লীগ",
                        "party": "বাংলাদেশ আওয়ামী লীগ",
                        "logo": null
                    }
                ],
                "division": null,
                "district": null,
                "constituency": null,
                "city_corporation": null,
                "sub_district": null,
                "municipality": null,
                "union": null,
                "ward": null,
                "status": "published",
                "created_by": {
                    "email": "jaki@jtro.com",
                    "is_staff": true,
                    "last_name": "Jaki",
                    "first_name": "Abdullah Al Mohin",
                    "is_visitor": true,
                    "is_operator": true,
                    "is_cap_admin": true,
                    "is_cap_operator": true
                },
                "created_at": "2023-05-27T14:14:06.266264+06:00"
            }
        ]
    }
}
```

## 3. Create Whatsapp Group API

```json
Request Body:
POST {{BASE_URL}}/api/v1/constituency/circulation/circulation-group-list/

{
    "name": "Lorem Ipsum",
    "whatsapp": "https://www.lipsum.com/",
    "org_of_party": [1, 2],
    "division": "",
    "district": "",
    "constituency": "",
    "city_corporation": "",
    "sub_district": "",
    "municipality": "",
    "union": "",
    "ward": "",
    "status": "published"
}


Response:
Status Code: 200

{
    "success": true,
    "message": "Created",
    "data": {
        "id": 5,
        "created_at": "2023-05-27T14:11:24.414522+06:00",
        "updated_at": "2023-05-27T14:11:24.414537+06:00",
        "created_by": {
            "email": "jaki@jtro.com",
            "first_name": "Abdullah Al Mohin",
            "last_name": "Jaki",
            "is_staff": true,
            "is_operator": true,
            "is_cap_operator": true,
            "is_cap_admin": true,
            "is_visitor": true
        },
        "updated_by": {},
        "uid": "0325e511-587b-4738-b381-46aa0bf64f11",
        "name": "Lorem Ipsum",
        "whatsapp": "https://www.lipsum.com/",
        "status": "published",
        "division": null,
        "district": null,
        "constituency": null,
        "city_corporation": null,
        "sub_district": null,
        "municipality": null,
        "union": null,
        "ward": null,
        "org_of_party": [
            1,
            2
        ]
    }
}
```

## 4. Detail Whatsapp Group API

```json
Request Body:
GET {{BASE_URL}}/api/v1/constituency/circulation/circulation-group-detail/<uid>/

Response:
Status Code: 200

{
    "success": true,
    "message": "Status OK",
    "data": {
        "url": "http://127.0.0.1:8000/api/v1/constituency/circulation/circulation-group-detail/8669e431-a96d-4863-b524-e4814bedbe48/",
        "uid": "8669e431-a96d-4863-b524-e4814bedbe48",
        "name": "Lorem Ipsum",
        "whatsapp": "https://www.lipsum.com/",
        "org_of_party": [
            {
                "id": 1,
                "name": "বাংলাদেশ ছাত্রলীগ",
                "party": "বাংলাদেশ আওয়ামী লীগ",
                "logo": null
            },
            {
                "id": 2,
                "name": "বাংলাদেশ যুব মহিলা লীগ",
                "party": "বাংলাদেশ আওয়ামী লীগ",
                "logo": null
            }
        ],
        "division": null,
        "district": null,
        "constituency": null,
        "city_corporation": null,
        "sub_district": null,
        "municipality": null,
        "union": null,
        "ward": null,
        "status": "published",
        "created_by": {
            "email": "jaki@jtro.com",
            "is_staff": true,
            "last_name": "Jaki",
            "first_name": "Abdullah Al Mohin",
            "is_visitor": true,
            "is_operator": true,
            "is_cap_admin": true,
            "is_cap_operator": true
        },
        "created_at": "2023-05-27T14:14:06.266264+06:00"
    }
}
```

## 5. Update Whatsapp Group API

```json
Request Body:
PATCH {{BASE_URL}}/api/v1/constituency/circulation/circulation-group-detail/<uid>/

{
    "status": "unpublished"
}

Response:
Status Code: 200

{
    "success": true,
    "message": "Status OK",
    "data": {
        "id": 3,
        "created_at": "2023-05-27T12:53:41.770585+06:00",
        "updated_at": "2023-05-27T12:56:16.442400+06:00",
        "created_by": {
            "email": "jaki@jtro.com",
            "is_staff": true,
            "last_name": "Jaki",
            "first_name": "Abdullah Al Mohin",
            "is_visitor": true,
            "is_operator": true,
            "is_cap_admin": true,
            "is_cap_operator": true
        },
        "updated_by": {
            "email": "jaki@jtro.com",
            "first_name": "Abdullah Al Mohin",
            "last_name": "Jaki",
            "is_staff": true,
            "is_operator": true,
            "is_cap_operator": true,
            "is_cap_admin": true,
            "is_visitor": true
        },
        "uid": "192682b3-637f-48bb-9ea6-5ddb3a2e7ee5",
        "name": "Lorem Ipsum",
        "whatsapp": "https://www.lipsum.com/",
        "org_of_party": 1,
        "status": "unpublished",
        "division": null,
        "district": null,
        "constituency": null,
        "city_corporation": null,
        "sub_district": null,
        "municipality": null,
        "union": null,
        "ward": null
    }
}
```

## 6. Whatsapp Group Search and Filtering API

```json
#Searching

Request Body:

GET {{BASE_URL}}/api/v1/constituency/circulation/circulation-group-list/?q=<search>

#Filtering

GET {{BASE_URL}}/api/v1/constituency/circulation/circulation-group-list/?division__name=&district__name=&constituency__constituency_name=&city_corporation__name=&sub_district__name=&municipality__name=&union__name=&ward__name=
```

## 7. Circulation Post List API

```json
Request Body:
GET {{BASE_URL}}/api/v1/constituency/circulation/circulation-post/


Response:
Status Code: 200

{
    "success": true,
    "message": "Status OK",
    "data": {
        "count": 2,
        "next": null,
        "previous": null,
        "results": [
            {
                "uid": "56168382-993a-4eb2-ad4b-8a38ac1f56e3",
                "title": "Where does it come from?",
                "whatsapp": [
                    {
                        "name": "Lorem Ipsum",
                        "whatsapp": "https://www.lipsum.com/"
                    }
                ],
                "description": "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old.",
                "on_post": [
                    "Facebook"
                ],
                "circulation_post_images": [
                    {
                        "uid": "43adb6e7-cfce-42a7-8f0c-86d4da1aef7a",
                        "circulation_image": "Where does it come from?",
                        "image": "http://127.0.0.1:8000/media/circulationpost/2023-05-28/bangladesh-krishak-league-logo-removebg-preview-2023-05-28-16-08-21.png"
                    },
                    {
                        "uid": "e67d85cc-950d-4c18-a08d-0b72aa380977",
                        "circulation_image": "Where does it come from?",
                        "image": "http://127.0.0.1:8000/media/circulationpost/2023-05-28/MahabuburRahman-2023-05-28-16-08-21.png"
                    }
                ]
            },
            ...
        ]
    }
}
```

## 8. Circulation Post Create API

```json
Request Body:
POST {{BASE_URL}}/api/v1/constituency/circulation/circulation-post/

{
    "title": "Where does it come from?",
    "description": "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old.",
    "on_post": "Facebook",  # Facebook, Instagram, TikTok, Twitter, Youtube
    "on_post": "Instagram",
    "whatsapp": [1, 2],
    "images": [images],
}

Response:
Status Code: 200

{
    "success": true,
    "message": "Created",
    "data": {
        "id": 2,
        "created_at": "2023-05-28T16:08:21.297308+06:00",
        "updated_at": "2023-05-28T16:08:21.297324+06:00",
        "created_by": {
            "email": "jaki@jtro.com",
            "first_name": "Abdullah Al Mohin",
            "last_name": "Jaki",
            "is_staff": true,
            "is_operator": true,
            "is_cap_operator": true,
            "is_cap_admin": true,
            "is_visitor": true
        },
        "updated_by": {},
        "uid": "56168382-993a-4eb2-ad4b-8a38ac1f56e3",
        "title": "Where does it come from?",
        "description": "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old.",
        "on_post": [
            "Facebook",
            "Instagram"
        ],
        "status": "published",
        "whatsapp": [
            6
        ]
    }
}
```

## 9. Circulation Post Search and Filtering API

```json
#Searching

Request Body:

GET {{BASE_URL}}/api/v1/constituency/circulation/circulation-post/?q=<search>

#Filtering

GET {{BASE_URL}}/api/v1/constituency/circulation/circulation-post/?whatsapp__name=<whatsapp_group>&whatsapp__org_of_party__name=<party_sub_org_name>&whatsapp__division__name=<division_name>&whatsapp__district__name=<district_name>&whatsapp__constituency__constituency_name=<constituency_name>&whatsapp__city_corporation__name=<city_corporation_name>&whatsapp__sub_district__name=<sub_district_name>&whatsapp__municipality__name=<municipality_name>&whatsapp__union__name=<union_name>&whatsapp__ward__name=<ward_name>
```
