□ REST API를 빠르게 테스트하기 위해 객체 ID를 쉽게 얻는 방법
예) REST API를 빠르게 테스트하기 위해 객체 ID를 쉽게 얻는 방법
GET /Parts( '{PartId}')
GET /ChangeTasks( '{ChangeTaskId}')/ChangeNotice
다음과 같은 방법으로 객체 아이디 (oid - object ID )를 가져 옵니다
1. 객체의 세부정보 페이지로 이동하여 예를 들어 WTPart에 대한 URL의 oid 값을 가져옵니다.
예제) http://<호스트 이름>/Windchill/app/#ptc1/tcomp/infoPage?ContainerOid=OR%3Awt.pdmlink.PDMLinkProduct%3A115304&oid= OR%3Awt.part.WTPart%3A514559 &u8=1
2. %3A를 다음으로 변환 : , 사용할 ID 값은 "OR:wt.part.WTPart:514559" 입니다.
참고 문서
CS112668 - Object Reference APIs in Windchill
Article - CS112668 Object Reference APIs in Windchill Modified: 20-Dec-2023 Applies To Windchill PDMLink 9.1 F000 to 12.1 Description Object References and APIs related to themGetting the Windchill object handle using its reference stringInitializing
www.ptc.com
'VBA For Windchill' 카테고리의 다른 글
DOM (Document Object Model) 이란? (0) | 2024.06.30 |
---|---|
VBA Web Parsing 1/2 (0) | 2024.06.30 |
json 파일 읽기 (0) | 2024.06.26 |
Windchill & VBA 02) Creating a WTPart (부품) (0) | 2024.06.26 |
Windchill & VBA 02) NONCE Token (0) | 2024.06.25 |