🦒장부 수정

행사 이름, 행사 설명

PATCH https://pk-cog.url/event

행사의 이름과 설명을 수정하는 API

Request Body

Name
Type
Description

eventTitle*

string

수정한 행사의 이름

eventContext*

string

수정한 행사의 설명

eventNumber

string

수정한 행사의 번호

Request Example
{
    "eventNumber":"12",
    "eventTitle":"학과 OT2",
    "eventContext":"학과 OT를 잘 마무리 하였습니다."
 }

영수증 추가

POST https://pk-cog.url/receipt

학생회장이 장부 행사의 영수증을 추가하기 위해 사용하는 API

Request Body

Name
Type
Description

receiptTitle*

String

영수증 이름

receiptDetailList*

List

영수증 리스트

receiptContext*

String

영수증 설명

eventNumber*

String

이벤트 숫자

receiptImgFile

Object

업로드 한 파일

Request Example

영수증 수정

PUT https://pk-cog.url/receipt

학생회장이 장부 행사의 영수증을 수정하기 위해 사용하는 API

Request Body

Name
Type
Description

receiptTitle*

String

영수증 이름

receiptDetailList*

List

영수증 리스트

receiptContext*

String

영수증 설명

receiptNumber*

String

영수증 번

receiptImgPath*

String

이전 이미지 경로

receiptImgFile

Object

업로드 한 이미지

Request Example

영수증 삭제

DELETE https://pk-cog.url/receipt

학생회장이 장부 행사의 영수증을 삭제하기 위해 사용하는 API

Query Parameters

Name
Type
Description

receipt-number

String

영수증 번호 리스트

Request Example

행사 장부 추가

POST https://pk-cog.url/event

학생회장이 행사 장부 추가하기 위해 사용하는 API

Request Body

Name
Type
Description

quarter*

String

해당 학과의 분기

Request Example

행사 장부 삭제

DELETE https://pk-cog.url/event

학생회장이 행사 장부 삭제하기 위해 사용하는 API

Query Parameters

Name
Type
Description

event-number*

string

eventNumber

장부 분기 날짜 수정

PUT https://pk-cog.url/ledger-date

학생회장이 장부 날짜 수정하기 위해 사용하는 API

Request Body

Name
Type
Description

openDate*

string

시작 날짜

closeDate

string

종료 날짜

quarter

string

분기

Request Example

본인 학과의 장부 분기 날짜 얻기

GET https://pk-cog.url/ledger-date

본인 학과의 장부 날짜 얻기 위해 사용하는 API

원하는 학과의 장부 분기 날짜 얻기

GET https://pk-cog.url/ledger-date/admin

원하는 학과의 장부 날짜 얻기 위해 사용하는 API

Query Parameters

Name
Type
Description

major-number

string

majorNumber

장부 행사 순서 수정

PATCH https://pk-cog.url/event-sequence

장부 행사 순서 수정을 하 위해 사용하는 API

Request Body

Name
Type
Description

eventNumberList

String

장부 행사 번호 리스트

Request Example

Last updated